Skip to content

Commit 291ea30

Browse files
committed
app-server: stabilize running thread resume tests
1 parent bc0a584 commit 291ea30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codex-rs/app-server/tests/suite/v2/thread_resume.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ async fn thread_resume_keeps_in_flight_turn_streaming() -> Result<()> {
277277
.await??;
278278
timeout(
279279
DEFAULT_READ_TIMEOUT,
280-
primary.read_stream_until_notification_message("turn/started"),
280+
primary.read_stream_until_notification_message("codex/event/task_started"),
281281
)
282282
.await??;
283283

@@ -384,7 +384,7 @@ async fn thread_resume_rejects_history_when_thread_is_running() -> Result<()> {
384384
to_response::<TurnStartResponse>(running_turn_resp)?;
385385
timeout(
386386
DEFAULT_READ_TIMEOUT,
387-
primary.read_stream_until_notification_message("turn/started"),
387+
primary.read_stream_until_notification_message("codex/event/task_started"),
388388
)
389389
.await??;
390390

@@ -500,7 +500,7 @@ async fn thread_resume_rejects_mismatched_path_when_thread_is_running() -> Resul
500500
to_response::<TurnStartResponse>(running_turn_resp)?;
501501
timeout(
502502
DEFAULT_READ_TIMEOUT,
503-
primary.read_stream_until_notification_message("turn/started"),
503+
primary.read_stream_until_notification_message("codex/event/task_started"),
504504
)
505505
.await??;
506506

@@ -603,7 +603,7 @@ async fn thread_resume_rejoins_running_thread_even_with_override_mismatch() -> R
603603
.await??;
604604
timeout(
605605
DEFAULT_READ_TIMEOUT,
606-
primary.read_stream_until_notification_message("turn/started"),
606+
primary.read_stream_until_notification_message("codex/event/task_started"),
607607
)
608608
.await??;
609609

0 commit comments

Comments
 (0)