Speed up test_lazy_connections
It doesn't really need to sleep a full second. Change-Id: Ida80f0c5a983edb33a93662badb6aa1a25f9a27c
This commit is contained in:
parent
22d1f3a39a
commit
89c8d9b853
@ -37,7 +37,7 @@ class ThreadTestCase(unittest.TestCase):
|
|||||||
self.got_args_kwargs.put((args, kwargs))
|
self.got_args_kwargs.put((args, kwargs))
|
||||||
|
|
||||||
if item == 'sleep':
|
if item == 'sleep':
|
||||||
sleep(1)
|
sleep(.1)
|
||||||
if item == 'go boom':
|
if item == 'go boom':
|
||||||
raise Exception('I went boom!')
|
raise Exception('I went boom!')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user