Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion js/net/src/lite/datagram-tracks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 1 addition & 0 deletions quest/m0/test-flakes-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
25 changes: 25 additions & 0 deletions quest/m0/test-flakes-2/datagram-queues.md
Original file line number Diff line number Diff line change
@@ -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.