diff --git a/crates/dim-app-server/src/agents/sessions/tests.rs b/crates/dim-app-server/src/agents/sessions/tests.rs index 31a150b051..0c7b5ce3ab 100644 --- a/crates/dim-app-server/src/agents/sessions/tests.rs +++ b/crates/dim-app-server/src/agents/sessions/tests.rs @@ -162,6 +162,9 @@ async fn exists_answers_loaded_unloaded_closed_and_deleted() { builder, crate::ServerConfig { database_path: Some(directory.join("dimcode.sqlite")), + // This test does not exercise the startup deadline; a whole-suite + // run can make assembly slower than the product default. + startup_timeout: Duration::from_secs(30), ..Default::default() }, ) diff --git a/crates/dim-app-server/tests/transport_flow.rs b/crates/dim-app-server/tests/transport_flow.rs index 71a2bc06b8..81a54fe3af 100644 --- a/crates/dim-app-server/tests/transport_flow.rs +++ b/crates/dim-app-server/tests/transport_flow.rs @@ -439,6 +439,12 @@ async fn launch_inner( install_collaboration: impl FnOnce(&mut AgentBuilder), extra: impl FnOnce(&mut AgentBuilder), ) -> dim_app_server::Result { + if config.startup_timeout == ServerConfig::default().startup_timeout { + // These flows do not test the startup deadline; the deadline has its + // own cases with explicit short bounds. A whole-suite run can make + // assembly slower than the product's 10 s default. + config.startup_timeout = Duration::from_secs(30); + } config.unix_path = Some(std::path::PathBuf::from("/tmp").join(format!( "dim-server-test-{}/server.sock", uuid::Uuid::new_v4()