Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: flaky test (#10644)

jif-oai71e63f8d10f7
diff --git a/codex-rs/core/tests/suite/tool_parallelism.rs b/codex-rs/core/tests/suite/tool_parallelism.rs
index 955b2f7ec3..0df8f8cbc9 100644
--- a/codex-rs/core/tests/suite/tool_parallelism.rs
+++ b/codex-rs/core/tests/suite/tool_parallelism.rs
@@ -149,6 +149,8 @@ async fn shell_tools_run_in_parallel() -> anyhow::Result<()> {
let shell_args = json!({
"command": "sleep 0.3",
+ // Avoid user-specific shell startup cost (e.g. zsh profile scripts) in timing assertions.
+ "login": false,
"timeout_ms": 1_000,
});
let args_one = serde_json::to_string(&shell_args)?;