mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Sleep for longer in the hope of fixing Travis intermittent failures
This commit is contained in:
parent
ae1cf1baf3
commit
d9d3875d15
@ -87,7 +87,7 @@ class LoopTest(BaseTest):
|
||||
server.join()
|
||||
self.ae(0, sum(int(w.is_alive()) for w in server.loop.pool.workers))
|
||||
# Test shutdown with hung worker
|
||||
with TestServer(lambda data:time.sleep(1000), worker_count=3, shutdown_timeout=0.01, timeout=0.01) as server:
|
||||
with TestServer(lambda data:time.sleep(1000000), worker_count=3, shutdown_timeout=0.01, timeout=0.01) as server:
|
||||
pool = server.loop.pool
|
||||
self.ae(3, sum(int(w.is_alive()) for w in pool.workers))
|
||||
conn = server.connect()
|
||||
|
Loading…
x
Reference in New Issue
Block a user