From 4ba562d2dd8bf3b3efca87aa1f1cee59a75ce5a4 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Fri, 14 Nov 2025 09:30:37 -0800 Subject: [PATCH] Add test timeout (#6612) Add an overall test timeout of 30s. --- codex-rs/.config/nextest.toml | 9 +++++++++ codex-rs/cloud-tasks/src/lib.rs | 1 + 2 files changed, 10 insertions(+) create mode 100644 codex-rs/.config/nextest.toml diff --git a/codex-rs/.config/nextest.toml b/codex-rs/.config/nextest.toml new file mode 100644 index 000000000..3ca7cfe50 --- /dev/null +++ b/codex-rs/.config/nextest.toml @@ -0,0 +1,9 @@ +[profile.default] +# Do not increase, fix your test instead +slow-timeout = { period = "15s", terminate-after = 2 } + + +[[profile.default.overrides]] +# Do not add new tests here +filter = 'test(rmcp_client) | test(humanlike_typing_1000_chars_appears_live_no_placeholder)' +slow-timeout = { period = "1m", terminate-after = 4 } diff --git a/codex-rs/cloud-tasks/src/lib.rs b/codex-rs/cloud-tasks/src/lib.rs index 7954da5eb..6fc721404 100644 --- a/codex-rs/cloud-tasks/src/lib.rs +++ b/codex-rs/cloud-tasks/src/lib.rs @@ -1721,6 +1721,7 @@ mod tests { use ratatui::layout::Rect; #[test] + #[ignore = "very slow"] fn composer_input_renders_typed_characters() { let mut composer = ComposerInput::new(); let key = KeyEvent::new(KeyCode::Char('a'), KeyModifiers::NONE);