Commit bf12fa8d authored by Denis Bilenko's avatar Denis Bilenko

greentest.py: bigger delays to avoid timing errors

--HG--
extra : transplant_source : %A4Z%A8HLDj%28%8F%977%EC%C5%5Bl%3Ex%9A%5C%B6
parent 54977feb
......@@ -272,10 +272,10 @@ class GenericWaitTestCase(TestCase):
def test_returns_none_after_timeout(self):
start = time.time()
result = self.wait(timeout=0.001)
result = self.wait(timeout=0.01)
# join and wait simply returns after timeout expires
delay = time.time() - start
assert 0.001 - 0.0001 <= delay < 0.001 + 0.001 + 0.01, delay
assert 0.01 - 0.001 <= delay < 0.01 + 0.01, 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