mirror of
https://github.com/openai/codex.git
synced 2026-04-27 16:15:09 +00:00
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
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user