Give remote integration waits more CI headroom

Keep the assertions intact while allowing rollback and remote tool-output events longer to arrive under the remote full-ci load.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-05-08 17:47:43 -07:00
parent fc70c09055
commit 36e346da33
4 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ use wiremock::MockServer;
const AFTER_SECOND_RESUME: &str = "AFTER_SECOND_RESUME";
const AFTER_ROLLBACK: &str = "AFTER_ROLLBACK";
const THREAD_ROLLBACK_EVENT_TIMEOUT: Duration = Duration::from_secs(25);
const THREAD_ROLLBACK_EVENT_TIMEOUT: Duration = Duration::from_secs(60);
fn network_disabled() -> bool {
std::env::var(CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR).is_ok()

View File

@@ -41,7 +41,7 @@ use std::path::PathBuf;
use tokio::time::Duration;
use wiremock::MockServer;
const THREAD_ROLLBACK_EVENT_TIMEOUT: Duration = Duration::from_secs(25);
const THREAD_ROLLBACK_EVENT_TIMEOUT: Duration = Duration::from_secs(60);
fn read_only_user_turn(test: &TestCodex, items: Vec<UserInput>, model: String) -> Op {
let (sandbox_policy, permission_profile) =

View File

@@ -44,7 +44,7 @@ async fn wait_for_function_call_output(
response_mock: &core_test_support::responses::ResponseMock,
call_id: &str,
) -> Result<String> {
tokio::time::timeout(Duration::from_secs(25), async {
tokio::time::timeout(Duration::from_secs(60), async {
loop {
if let Some(output) = response_mock.function_call_output_text(call_id) {
return output;

View File

@@ -68,7 +68,7 @@ async fn wait_for_function_call_output(
response_mock: &responses::ResponseMock,
call_id: &str,
) -> anyhow::Result<Value> {
tokio::time::timeout(Duration::from_secs(25), async {
tokio::time::timeout(Duration::from_secs(60), async {
loop {
if let Some(output) = response_mock.function_call_output(call_id) {
return output;