Skip to main content

assert_within

Function assert_within 

Source
pub fn assert_within(measured: Duration, bound: Duration, what: &str)
Expand description

Asserts a test’s wall-clock bound measured < bound (INV-589), mirroring tests/timing.py.

make test runs many jobs at once and exports CLM_SKIP_TIMING_ASSERTIONS=1, so the bound is then printed, not asserted. make test-budget and a direct cargo test assert it.