From 00a549504c2e785ed73a758f6130924ea5545de3 Mon Sep 17 00:00:00 2001 From: cxymds Date: Sun, 4 Oct 2026 20:20:05 +0800 Subject: [PATCH] test: allow cleanup fixture CI headroom (#8336) --- rustfs/tests/connect_perf_object.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rustfs/tests/connect_perf_object.rs b/rustfs/tests/connect_perf_object.rs index be6fc6c53..d2253e154 100644 --- a/rustfs/tests/connect_perf_object.rs +++ b/rustfs/tests/connect_perf_object.rs @@ -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");