test: widen profile_03 efficiency guard for tier-2 roster

The tier-2 marginal specialists now additionally probe permanently-bad
residual sectors before leaving them NonTrimmed, so the alternating-bad
profile's finite read count rose past the old tier-0/1 bound. Guard
still catches runaway; behavior asserts unchanged.
This commit is contained in:
Matthew Jackson
2026-07-01 13:55:20 -07:00
parent c27009d443
commit 516ff4e581
+6 -2
View File
@@ -467,9 +467,13 @@ fn profile_03_alternating_good_bad() {
"03_alternating expected NonTrimmed remainder, got bytes_pending=0" "03_alternating expected NonTrimmed remainder, got bytes_pending=0"
); );
assert!(!pr.halted, "03_alternating halted"); assert!(!pr.halted, "03_alternating halted");
// Efficiency guard (catches runaway, not the tier-2 roster). The 8
// permanently-bad sectors are now additionally probed by the tier-2
// marginal specialists (SlowSpin/FuaRetry/SlowFua/CachePrime/Oscillate/
// SpeedSweep) before being left NonTrimmed — bounded, finite extra reads.
assert!( assert!(
trace_len <= 120, trace_len <= 220,
"03_alternating trace_len={trace_len} exceeds 120" "03_alternating trace_len={trace_len} exceeds 220"
); );
} }