[tests] stabilize cross-platform Git helper checks

This commit is contained in:
Chris Bookholt
2026-06-29 22:05:56 -07:00
parent 4449734da4
commit 5e05150de3
2 changed files with 8 additions and 4 deletions
+4 -1
View File
@@ -550,7 +550,10 @@ async fn responses_stream_includes_turn_metadata_header_for_git_workspace_e2e()
let request_log = responses::mount_response_sequence(
&server,
vec![
responses::sse_response(first_response),
// Git enrichment is intentionally asynchronous. Keep the first
// response open long enough for the follow-up request to observe
// the enriched metadata, even on slower CI hosts.
responses::sse_response(first_response).set_delay(std::time::Duration::from_secs(2)),
responses::sse_response(follow_up_response),
],
)