fix(tools): the loss harness catches up with seal_streamed_chunk's slice flag

49bc93cd grew seal_streamed_chunk a slice_end parameter and updated every
caller except this one — the Linux clippy leg has been red since (run
10615+). false = the legacy full-FEC-block granularity the harness always
exercised; its loopback client never advertises the P2 slice wire.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 18:16:40 +02:00
co-authored by Claude Fable 5
parent 2a6bf3c421
commit 5807d3a8a6
+3 -1
View File
@@ -60,7 +60,9 @@ fn run(
if streamed {
let mut au = host.begin_streamed_frame_at(f as u64, 0, f as u32).unwrap();
for chunk in frame.chunks(frame_len / 3 + 1) {
let wires = host.seal_streamed_chunk(&mut au, chunk).unwrap();
// slice_end=false: the harness exercises the legacy full-FEC-block granularity
// (its loopback client never advertises the P2 slice wire).
let wires = host.seal_streamed_chunk(&mut au, chunk, false).unwrap();
send_wires(&mut host, wires);
}
let wires = host.seal_streamed_finish(au).unwrap();