mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Fix Windows exec-server output test flake (#17409)
Problem: The Windows exec-server test command could let separator whitespace become part of `echo` output, making the exact retained-output assertion flaky. Solution: Tighten the Windows `cmd.exe` command by placing command separators directly after the echoed tokens so stdout remains deterministic while preserving the exact assertion.
This commit is contained in:
committed by
GitHub
Unverified
parent
f9a8d1870f
commit
824ec94eab
@@ -275,7 +275,7 @@ async fn output_and_exit_are_retained_after_notification_receiver_closes() {
|
||||
process_id.as_str(),
|
||||
shell_argv(
|
||||
"sleep 0.05; printf 'first\\n'; sleep 0.05; printf 'second\\n'",
|
||||
"echo first && ping -n 2 127.0.0.1 >NUL && echo second",
|
||||
"echo first&& ping -n 2 127.0.0.1 >NUL&& echo second",
|
||||
),
|
||||
))
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user