chore: stabilize core tool parallelism test (#8805)
Set login=false for the shell tool in the timing-based parallelism test so it does not depend on slow user login shells, making the test deterministic without user-facing changes. This prevents occasional flakes when running locally.
This commit is contained in:
parent
3389465c8d
commit
230a045ac9
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue