Skip to content

Commit 2f19b7e

Browse files
committed
Fix test
1 parent cbe9725 commit 2f19b7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ def test_worker_journal_replay(hq_env: HqEnv, tmp_path):
7171
assert events[0]["event"]["type"] == "server-start"
7272

7373

74-
def test_worker_replay_without_journal(hq_env: HqEnv, tmp_path):
74+
def test_worker_replay_without_journal(hq_env: HqEnv):
7575
hq_env.start_server()
7676
w = hq_env.start_worker()
7777
hq_env.start_worker()
7878
wait_for_worker_state(hq_env, [1, 2], "RUNNING")
7979
hq_env.command(["worker", "stop", "1"])
80-
wait_for_worker_state(hq_env, [1], "STOPPED")
80+
wait_for_worker_state(hq_env, [1], "STOPPED", check_running_processes=False)
8181
hq_env.check_process_exited(w)
8282
events = get_replayed_events(hq_env)
8383
assert_contains_event(events, lambda e: e["event"]["type"] == "worker-connected" and e["event"]["id"] == 1)

0 commit comments

Comments
 (0)