Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/mcp_handler_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11510,7 +11510,7 @@ async fn mcp_server_owns_watcher_and_refreshes_token_map_on_change() {
let server = tracedecay::mcp::McpServer::new(cg.into_inner(), None).await;
assert!(
server
.wait_for_startup_catch_up(std::time::Duration::from_secs(2))
.wait_for_startup_catch_up(std::time::Duration::from_secs(30))
.await,
"startup catch-up sync should finish before mutating the project"
);
Expand Down Expand Up @@ -12142,10 +12142,10 @@ async fn wait_for_startup_catch_up_waits_for_transcript_ingest_flag() {
server.run_startup_catch_up_sync().await;

let completed = server
.wait_for_startup_catch_up(std::time::Duration::from_secs(5))
.wait_for_startup_catch_up(std::time::Duration::from_secs(30))
.await;

assert!(completed, "wait_for_startup_catch_up timed out after 5s");
assert!(completed, "wait_for_startup_catch_up timed out after 30s");

// After the wait returns true, both flags must be set.
assert!(
Expand Down
4 changes: 2 additions & 2 deletions tests/multi_mcp_coordination_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ async fn two_mcps_on_same_project_coordinate_via_sync_lock() {
for (label, server) in [("server1", &server1), ("server2", &server2)] {
assert!(
server
.wait_for_startup_catch_up(Duration::from_secs(10))
.wait_for_startup_catch_up(Duration::from_secs(30))
.await,
"{label}: startup catch-up should finish within 10s"
"{label}: startup catch-up should finish within 30s"
);
}

Expand Down
Loading