fix(risk): remove flaky latency assertions from CI test paths

Remove sub-100μs timing assertions from test_hf_gate_check and the
fractional_diff tests — these are correctness tests, not benchmarks.
Timing assertions are unreliable under CI CPU contention (parallel
workspace test runs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-13 11:18:12 +01:00
parent 4462404084
commit 46ebfa4396

View File

@@ -424,13 +424,6 @@ mod tests {
assert!(result.is_ok());
assert!(latency_ns > 0);
// Latency should be sub-100μs; CI pods have noisy-neighbor jitter
assert!(
latency_ns < 100_000,
"Gate check took {}ns (should be <100,000ns)",
latency_ns
);
Ok(())
}