We're updating the issue view to help you get more done. 

tests/integration/integration_test_Entity.py:test_get_with_downloadLocation_and_ifcollision AssertionError

Description

Getting error in the test 'integration.integration_test_Entity.test_get_with_downloadLocation_and_ifcollision', but spuriously, both on Travis and local. Locally, it fails ~25% of the time.

Added a bit of debugging output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 ====================================================================== FAIL: integration.integration_test_Entity.test_get_with_downloadLocation_and_ifcollision ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/kdaily/miniconda3/envs/py35/lib/python3.5/site-packages/nose/case.py", line 198, in runTest self.test(*self.arg) File "/home/kdaily/src/synapsePythonClient/tests/integration/integration_test_Entity.py", line 310, in test_get_with_downloadLocation_and_ifcollision os.path.getmtime(otherBogus.path)) AssertionError: Times are different by 2.294050931930542: overwriteModTime 1491417274.9028862 != mtime 1491417277.196937 ---------------------------------------------------------------------- Ran 1 test in 16.242s FAILED (failures=1)

Environment

Status

Assignee

Ziming Dong

Reporter

Kenneth Daily

Validator

Kenneth Daily

Fix versions

Priority

Major