mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
test-queue-worker-reload: Poll for 60 seconds.
This commit is contained in:
@@ -33,8 +33,8 @@ def check_worker_launch(logfile_name):
|
||||
log_output = []
|
||||
print("Polling logfile", end='')
|
||||
logfile = open(logfile_name, 'rb', buffering=0)
|
||||
# Attempt to poll the log file for 10 sec. to see if all worker threads are launched.
|
||||
for i in range(100):
|
||||
# Attempt to poll the log file for 60 sec. to see if all worker threads are launched.
|
||||
for i in range(200):
|
||||
time.sleep(0.3)
|
||||
sys.stdout.write('.')
|
||||
sys.stdout.flush()
|
||||
|
Reference in New Issue
Block a user