From 5c3a2ff27722e902b5c651a4ed3de51c55a2cbc1 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 30 Sep 2026 15:46:20 +0800 Subject: [PATCH] fix(ci): reserve capacity for profile cancellation probe (#8259) --- .config/nextest.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index 37c8f3cfb..3d786bd11 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -149,6 +149,12 @@ test-group = 'embedded-test-ports' filter = 'package(rustfs) & (binary(/^connect_registration$/) | binary(connect_inventory) | binary(connect_perf_drive) | (binary(connect_perf_object) & test(=real_rustfs_endpoint_and_production_cli_support_bounded_get_and_put)))' threads-required = "num-test-threads" +# This cancellation probe hashes the serving executable before acquiring its +# collector lease. Keep competing test processes out of its 30s startup budget. +[[profile.default.overrides]] +filter = 'package(rustfs) & test(=connect::diagnostics::trace_runtime::tests::local_runtime_profile_cancellation_waits_for_lease_release)' +threads-required = "num-test-threads" + # These concurrent state writers keep the production 5s lock-acquisition limit # while their peer completes durable IO. Reserve capacity from unrelated test # processes while preserving each test's internal two-writer race. @@ -373,6 +379,11 @@ test-group = 'embedded-test-ports' filter = 'package(rustfs) & (binary(/^connect_registration$/) | binary(connect_inventory) | binary(connect_perf_drive) | (binary(connect_perf_object) & test(=real_rustfs_endpoint_and_production_cli_support_bounded_get_and_put)))' threads-required = "num-test-threads" +# Preserve the cancellation probe's startup budget and assertions in CI too. +[[profile.ci.overrides]] +filter = 'package(rustfs) & test(=connect::diagnostics::trace_runtime::tests::local_runtime_profile_cancellation_waits_for_lease_release)' +threads-required = "num-test-threads" + # Keep the same state-writer capacity reservation in CI without changing the # production lock deadline, internal concurrency, assertions, or retry policy. [[profile.ci.overrides]]