Commit 4113476b authored by Denis Bilenko's avatar Denis Bilenko

increase delay, just in case

parent 86f6af7d
......@@ -282,10 +282,10 @@ class GenericWaitTestCase(TestCase):
def test_returns_none_after_timeout(self):
start = time.time()
result = self.wait(timeout=0.01)
result = self.wait(timeout=0.02)
# join and wait simply returns after timeout expires
delay = time.time() - start
assert 0.01 - 0.001 <= delay < 0.01 + 0.01, delay
assert 0.02 - 0.002 <= delay < 0.02 + 0.02, delay
assert result is None, repr(result)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment