Skip to content

Commit ac59ffb

Browse files
committed
CI: flaky test connecting during reload
1 parent e99405e commit ac59ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ def test_process_request_after_fixing_syntax_error(worker_class):
328328
expect={
329329
"%s.py modified" % (APP_BASENAME,),
330330
"Booting worker",
331+
"Worker exiting", # safeguard against hitting the old worker
331332
},
332333
)
333334

334335
# worker did boot now, request should work
335-
time.sleep(0.5)
336336
response = client.run()
337337
assert response.status == 200, (response.status, response.reason)
338338
assert response.reason == "OK", response.reason

0 commit comments

Comments
 (0)