diff --git a/quest/m0/test-flakes-2/README.md b/quest/m0/test-flakes-2/README.md index b035a89b3be..8f9c03e8b68 100644 --- a/quest/m0/test-flakes-2/README.md +++ b/quest/m0/test-flakes-2/README.md @@ -183,3 +183,4 @@ Public API: none. Wire: none. - [The http:// fingerprint tests survive a slow fetch](/quest/m0/test-flakes-2/fingerprint-host-clock.md) - a fingerprint fetch slower than the 500 ms hedge no longer trips the host-clock guard - [A lite-07 relative start resolves to the publisher's start every time](/quest/m0/test-flakes-2/lite07-relative-start.md) - `js/net`'s frameless-newest-group integration test stops reading a start of 0, and its `test.skip` is removed - [A lite-07 reply FINs instead of resetting when the subscriber FINs mid-write](/quest/m0/test-flakes-2/lite07-reply-fin.md) - `js/net`'s empty-window reply test passes under `--rerun-each 200`, fixed in the publisher +- [moq-tokio's stream-stopped tests survive a loaded host](/quest/m0/test-flakes-2/quic-stream-stopped.md) - `stream_stopped` awaits its stop event instead of a 100 ms wall-clock deadline, and its `#[ignore]` is removed diff --git a/quest/m0/test-flakes-2/quic-stream-stopped.md b/quest/m0/test-flakes-2/quic-stream-stopped.md new file mode 100644 index 00000000000..8a5ac8a3d22 --- /dev/null +++ b/quest/m0/test-flakes-2/quic-stream-stopped.md @@ -0,0 +1,25 @@ +# [XS] moq-tokio's stream-stopped tests survive a loaded host + +## Goal + +moq-tokio's `quic::driver::tests::stream_stopped` runs again and passes on a +loaded host. A stopped stream is proven by the stop event it awaits, not by +a wall-clock deadline. + +## Plan + +Planned 2026-11-07 (maintainer, /quest-complete), a follow-up of +[moq-dev/moq#8088](https://github.com/moq-dev/moq/pull/8088), which +quarantined the test with `#[ignore]` and a `sh/gh/test-inventory.allow` +entry naming this epic. + +The test (`rs/moq-tokio/src/quic/driver/tests.rs`) wraps its client in +`timeout(Duration::from_millis(100), ...)`. Under load the dial, write, and +stop round trip takes longer, so it fails even though nothing is wrong. +nextest's 60 s `terminate-after` already bounds a real hang. Drop that +deadline, so the test awaits the stop codes it asserts. +`stream_stopped_2` in the same file bounds `closed()` with the same 100 ms +`timeout`; fix it the same way, unless the deadline is what it asserts. Then +remove the `#[ignore]` and the allowlist entry, and delete this quest. + +Public API: none. Wire: none.