Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Deflake mixed parallel tools timing test (#11193)

gt-oai54b401aa5fb2
diff --git a/codex-rs/core/tests/suite/tool_parallelism.rs b/codex-rs/core/tests/suite/tool_parallelism.rs
index 0df8f8cbc9..b5a7a3a17f 100644
--- a/codex-rs/core/tests/suite/tool_parallelism.rs
+++ b/codex-rs/core/tests/suite/tool_parallelism.rs
@@ -187,6 +187,8 @@ async fn mixed_parallel_tools_run_in_parallel() -> anyhow::Result<()> {
.to_string();
let shell_args = serde_json::to_string(&json!({
"command": "sleep 0.3",
+ // Avoid user-specific shell startup cost in timing assertions.
+ "login": false,
"timeout_ms": 1_000,
}))?;