diff --git a/tests/retry_config_contract.py b/tests/retry_config_contract.py index 059c330..5a6b60a 100644 --- a/tests/retry_config_contract.py +++ b/tests/retry_config_contract.py @@ -108,10 +108,11 @@ def run_case(name, mode, count, workers, host_workers, expected_peak, min_peak=N # retry workers share an Io thread pool with the firehose # reconnect and accept loops. A small cap is saturated # regardless, so those cases still assert equality; the - # 16-worker default reproducibly peaks at 13-14 on a 32-core - # Linux box while hitting 16 on macOS. Assert the ceiling holds - # and that the default is still far above the explicit caps -- - # pinning the exact overlap only asserts the scheduler. + # 16-worker default was observed at 13, 14, 14, 16 and 16 across + # runs on one idle 32-core box, so the overlap is scheduling + # noise rather than a property of the host. Assert the ceiling + # holds and that the default stays far above the explicit caps + # -- pinning the exact overlap only asserts the scheduler. assert State.peak <= expected_peak, (name, State.peak, text) assert State.peak >= (expected_peak if min_peak is None else min_peak), ( name, State.peak, text,