mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
test-queue-worker-reload: Increase sleep resolution.
This commit is contained in:
@@ -41,8 +41,8 @@ def check_worker_launch(logfile):
|
||||
log_output = u''
|
||||
print("Polling logfile", end='')
|
||||
# Attempt to poll the log file for 10 sec. to see if all worker threads are launched.
|
||||
for i in range(30):
|
||||
time.sleep(1)
|
||||
for i in range(100):
|
||||
time.sleep(0.3)
|
||||
sys.stdout.write('.')
|
||||
sys.stdout.flush()
|
||||
logfile.seek(0)
|
||||
|
||||
Reference in New Issue
Block a user