mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/fix-flaky-terminate-while-queueing'
* origin/topic/awelzel/fix-flaky-terminate-while-queueing:
cluster/websocket: Stop and wait for reply thread during Terminate()
(cherry picked from commit 135acc7c6d
)
This commit is contained in:
parent
01747191b6
commit
3ee6a3d6c0
4 changed files with 13 additions and 2 deletions
|
@ -89,7 +89,7 @@ def run(ws_url):
|
|||
tc.send_json(wstest.build_event_v1("/test/pings/", "ping", [f"tc{idx}", i]))
|
||||
except websockets.exceptions.ConnectionClosedOK as e:
|
||||
print("connection closed ok")
|
||||
assert e.code == 1001 # Remote going away
|
||||
assert e.code == 1001, f"expected code 1001, got {e.code} - {e}" # Remote going away
|
||||
i -= 1
|
||||
saw_closed_ok.add(idx)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue