diff --git a/js/net/src/lite/datagram-tracks.test.ts b/js/net/src/lite/datagram-tracks.test.ts index ded3c095732..88097f23520 100644 --- a/js/net/src/lite/datagram-tracks.test.ts +++ b/js/net/src/lite/datagram-tracks.test.ts @@ -111,7 +111,8 @@ test("lite-04 refuses datagram tracks at setup", async () => { } }); -test("lite-07 bounds and prioritizes independent createWritable datagram queues", async () => { +// Quarantined: flaky under load, see /quest/m0/test-flakes-2/datagram-queues.md +test.skip("lite-07 bounds and prioritizes independent createWritable datagram queues", async () => { const source = new Origin(); const publication = source.route(path, { hidden: true }); const datagrams = publication.broadcast.createDatagrams("audio"); diff --git a/quest/m0/test-flakes-2/README.md b/quest/m0/test-flakes-2/README.md index 12e642d64da..c015fc98385 100644 --- a/quest/m0/test-flakes-2/README.md +++ b/quest/m0/test-flakes-2/README.md @@ -252,3 +252,4 @@ Public API: none. Wire: none. - [js/net's lite-07 re-dropped re-offer test holds up under load](/quest/m0/test-flakes-2/redropped-reoffer.md) - update 3 is ordered before the re-offer opens by an event, not a yield count, and its `test.skip` is removed - [js/net's datagram session-close-after-end test holds up under load](/quest/m0/test-flakes-2/datagram-close-end.md) - the abort is ordered after the end by an event the client observes, and its `test.skip` is removed - [moq-rs's Python TCP close test settles on a promised error](/quest/m0/test-flakes-2/tcp-close-unroutable.md) - the reader's error after an endpoint close is one the socket contract promises, and its `pytest.mark.skip` is removed +- [js/net's lite-07 datagram queue test holds up under load](/quest/m0/test-flakes-2/datagram-queues.md) - the test waits for the first track's queue instead of asserting at once, and its `test.skip` is removed diff --git a/quest/m0/test-flakes-2/datagram-queues.md b/quest/m0/test-flakes-2/datagram-queues.md new file mode 100644 index 00000000000..baf43b71ebb --- /dev/null +++ b/quest/m0/test-flakes-2/datagram-queues.md @@ -0,0 +1,25 @@ +# [XS] js/net's lite-07 datagram queue test holds up under load + +## Goal + +`js/net/src/lite/datagram-tracks.test.ts`'s "lite-07 bounds and prioritizes +independent createWritable datagram queues" passes on a loaded host, and its +`test.skip` is removed. + +## Plan + +Planned 2026-11-09 (maintainer, /quest-complete follow-up of +[moq-dev/moq#8276](https://github.com/moq-dev/moq/pull/8276)), under the +repository's flaky-test rule. It failed once during a full `just check` on +#8276's branch and passed 8 of 8 times alone and in later runs. + +Suspected, not confirmed: the test asserts +`pair.server.sendStreams.datagrams` has two queues right after +`second.recv()`, but nothing orders the first track's queue before that +point, so under load it may not exist yet. Reproduce it first, under load as +the epic describes. Then wait on the event that creates the queue rather than +asserting at once. If the publisher can deliver on the second track before +creating the first track's queue when both were subscribed first, decide +whether that is a bug before changing only the test. + +Public API: none. Wire: none.