commit d4a6ad07ab714a73cc17500f90b42a0c4acf6882 Author: Damian Johnson atagar@torproject.org Date: Tue Jan 31 19:12:02 2017 -0800
Reduce sleep for events unit test
Easy change to save 200ms. --- test/unit/response/events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/unit/response/events.py b/test/unit/response/events.py index 80cc9f1..908ec57 100644 --- a/test/unit/response/events.py +++ b/test/unit/response/events.py @@ -476,7 +476,7 @@ class TestEvents(unittest.TestCase): def event_sender(): for index in range(3): print_bw(_get_event('650 BW 15 25')) - time.sleep(0.05) + time.sleep(0.0005)
controller = Mock(spec = Controller)
@@ -485,7 +485,7 @@ class TestEvents(unittest.TestCase):
events_thread = threading.Thread(target = event_sender) events_thread.start() - time.sleep(0.2) + time.sleep(0.002) events_thread.join()
def test_event(self):
tor-commits@lists.torproject.org