test: allow cleanup fixture CI headroom (#8336)

This commit is contained in:
cxymds
2026-10-04 20:20:05 +08:00
committed by GitHub
parent 83fa2611f4
commit 00a549504c
+5 -1
View File
@@ -498,7 +498,11 @@ async fn cleanup_uses_a_budget_independent_of_the_measurement_window() {
"target result: {:?}",
measurement.target
);
tokio::time::timeout(Duration::from_secs(3), server)
// The cleanup budget is two sequential requests, each allowed to use the
// probe's bounded cleanup timeout. Leave scheduler and CI runner headroom
// here while keeping the assertion independent from the one-second
// measurement window above.
tokio::time::timeout(Duration::from_secs(10), server)
.await
.expect("cleanup requests should complete")
.expect("response server");