From 75e7c804eac4d3fae12d1dda38c726d1f37e17fe Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Tue, 3 Mar 2026 07:29:28 +1100 Subject: [PATCH] test(app-server): increase flow test timeout to reduce flake (#11814) ## Summary - increase `DEFAULT_READ_TIMEOUT` in `codex_message_processor_flow` from 20s to 45s - keep test behavior the same while avoiding platform timing flakes ## Why Windows ARM64 CI showed these tests taking about 24s before `task_complete`, which could fail early and produce wiremock request-count mismatches. ## Testing - just fmt - cargo test -p codex-app-server codex_message_processor_flow -- --nocapture --- codex-rs/app-server/tests/suite/codex_message_processor_flow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/app-server/tests/suite/codex_message_processor_flow.rs b/codex-rs/app-server/tests/suite/codex_message_processor_flow.rs index f6d3b9efb..9f653ab9c 100644 --- a/codex-rs/app-server/tests/suite/codex_message_processor_flow.rs +++ b/codex-rs/app-server/tests/suite/codex_message_processor_flow.rs @@ -36,7 +36,7 @@ use std::path::Path; use tempfile::TempDir; use tokio::time::timeout; -const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(20); +const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(45); #[tokio::test(flavor = "multi_thread", worker_threads = 4)] async fn test_codex_jsonrpc_conversation_flow() -> Result<()> {