From faf7af45526aca8b40d77b60fade483310159485 Mon Sep 17 00:00:00 2001 From: starr-openai Date: Mon, 20 Apr 2026 17:16:00 -0700 Subject: [PATCH] Fix multi-environment unified exec test wait The submit helper already waits for the turn to complete. Remove the second wait so the test can inspect the captured request after the successful selected-environment tool call. Co-authored-by: Codex --- codex-rs/core/tests/suite/unified_exec.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/codex-rs/core/tests/suite/unified_exec.rs b/codex-rs/core/tests/suite/unified_exec.rs index d4612b6d40..a8a0e526c4 100644 --- a/codex-rs/core/tests/suite/unified_exec.rs +++ b/codex-rs/core/tests/suite/unified_exec.rs @@ -397,11 +397,6 @@ async fn unified_exec_environment_id_targets_non_primary_environment() -> Result ) .await?; - wait_for_event(&test.codex, |event| { - matches!(event, EventMsg::TurnComplete(_)) - }) - .await; - let bodies = request_log .requests() .into_iter()