From 54ee302a06f83870447d1bf9155448bb2d20e7ab Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 20 Nov 2025 14:38:04 -0800 Subject: [PATCH] Attempt to fix `unified_exec_formats_large_output_summary` flakiness (#7029) second attempt to fix this test after https://github.com/openai/codex/pull/6884. I think this flakiness is happening because yield_time is too small for a 10,000 step loop in python. --- codex-rs/core/tests/suite/unified_exec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/tests/suite/unified_exec.rs b/codex-rs/core/tests/suite/unified_exec.rs index d3059aba4..aed4cecef 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 "#;