test(blockvolume): F1 fails a round in which no load write met the cut

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-23 11:30:32 -08:00
1 parent d8233a99e4
commit 52f6085590
1 file changed
+3
@@ -394,6 +394,9 @@ func f1RunRound(t *testing.T, env *handoffEnv, cfg f1Config, vols []f1Volume, ro
}
r.SnapshotMs = ms(res[i].end.Sub(res[i].start))
f1Latencies(&r, w.samples, res[i].start, res[i].end)
if r.WritesIn == 0 {
rep.Failures = append(rep.Failures, fmt.Sprintf("%s round %d: no load write was issued inside the snapshot window", v.id, round))
}
f1CutStats(t, env, v, &r)
r.RSSKiB = f1RSS(v.d)
target := f1RestoreTarget(i+1, round)