diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-11-20 08:58:00 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-11-20 08:58:00 +0100 |
commit | 1ca7c9beb003629990ed65660a08dbdc528fd548 (patch) | |
tree | 097c8c3aefed31d2b19e4b7c130456541c52685f | |
parent | fcc7c41db098e828a586dafa37907a884a5a4300 (diff) | |
download | aioeventlet-1ca7c9beb003629990ed65660a08dbdc528fd548.tar.gz |
fix test_timer on windows
-rw-r--r-- | tests/test_timer.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_timer.py b/tests/test_timer.py index 8ac6ed1..fbb492b 100644 --- a/tests/test_timer.py +++ b/tests/test_timer.py @@ -31,12 +31,12 @@ class TimerTests(tests.TestCase): result.append("World") loop.stop() - self.loop.call_later(0.010, hello) - self.loop.call_later(0.020, self.loop.stop) - self.loop.call_later(0.030, world, self.loop) + self.loop.call_later(0.050, hello) + self.loop.call_later(0.100, self.loop.stop) + self.loop.call_later(0.150, world, self.loop) self.loop.run_forever() - eventlet.sleep(0.050) + eventlet.sleep(0.200) self.assertEqual(result, ["Hello"]) self.loop.run_forever() |