Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: stabilize core tool parallelism test (#8805)

Thibault Sottiaux230a045ac9f7
diff --git a/codex-rs/core/tests/suite/tool_parallelism.rs b/codex-rs/core/tests/suite/tool_parallelism.rs
index 5a5b443209..71a6031fe8 100644
--- a/codex-rs/core/tests/suite/tool_parallelism.rs
+++ b/codex-rs/core/tests/suite/tool_parallelism.rs
@@ -301,8 +301,11 @@ async fn shell_tools_start_before_response_completed_when_stream_delayed() -> an
"perl -MTime::HiRes -e 'print int(Time::HiRes::time()*1000), \"\\n\"' >> \"{}\"",
output_path.display()
);
+ // Use a non-login shell to avoid slow, user-specific shell init (e.g. zsh profiles)
+ // from making this timing-based test flaky.
let args = json!({
"command": command,
+ "login": false,
"timeout_ms": 1_000,
});