Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Attempt to fix `unified_exec_formats_large_output_summary` flakiness (#7029)

Ahmed Ibrahim54ee302a06f8
diff --git a/codex-rs/core/tests/suite/unified_exec.rs b/codex-rs/core/tests/suite/unified_exec.rs
index d3059aba42..aed4cecef7 100644
--- a/codex-rs/core/tests/suite/unified_exec.rs
+++ b/codex-rs/core/tests/suite/unified_exec.rs
@@ -1622,8 +1622,8 @@ async fn unified_exec_formats_large_output_summary() -> Result<()> {
} = builder.build(&server).await?;
let script = r#"python3 - <<'PY'
-for i in range(10000):
- print("token token ")
+import sys
+sys.stdout.write("token token \n" * 5000)
PY
"#;