test-speedups
dgtlmoon 7 months ago
parent 2ebb2b0013
commit 35f9bdc8b0

@ -124,13 +124,12 @@ def extract_UUID_from_client(client):
def wait_for_all_checks(client): def wait_for_all_checks(client):
# Loop waiting until done.. # Loop waiting until done..
attempt = 0 attempt = 0
time.sleep(1)
while attempt < 60: while attempt < 60:
time.sleep(1)
res = client.get(url_for("index")) res = client.get(url_for("index"))
if not b'Checking now' in res.data: if not b'Checking now' in res.data:
break break
logging.getLogger().info("Waiting for watch-list to not say 'Checking now'.. {}".format(attempt)) logging.getLogger().info("Waiting for watch-list to not say 'Checking now'.. {}".format(attempt))
time.sleep(1)
attempt += 1 attempt += 1
def live_server_setup(live_server): def live_server_setup(live_server):

Loading…
Cancel
Save