Update test for slow timeout

This commit is contained in:
Nico Andrade
2020-10-02 21:51:21 -04:00
parent cbd515c430
commit 7f2b0dc35c
+1 -1
View File
@@ -206,7 +206,7 @@ def test_mongo_wait_for_calc_timeout_slow():
res2 = res_queue.get()
assert res1 != res2 # Timeout kicked in. Two calls were done
res3 = _wait_for_calc_timeout_mongo_slow(1, 2)
assert res2 == res3 # The cached value is returned
assert res2 == res3 or res1 == res3 # One of the cached values is returned
class _BadMongoCollection: