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: 3 additions & 0 deletions kt/moq/src/jvmAndAndroidTest/kotlin/dev/moq/SmokeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import dev.moq.video.ProducerOptions as VideoProducerOptions
import dev.moq.video.ReadFrame as VideoReadFrame
import java.net.DatagramSocket
import java.net.InetAddress
import kotlin.test.Ignore
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
Expand Down Expand Up @@ -1146,6 +1147,8 @@ class SmokeTest {
/**
* A fixed playout delay is reported back as is, and an estimated one moves as frames are read.
*/
// Quarantined: flaky, see quest/m0/test-flakes-2/kt-playout-delay.md.
@Ignore
@Test
fun `audio consumer reports its playout delay`() = runTest {
OriginProducer(OriginConfig()).use { origin ->
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 @@ -272,3 +272,4 @@ Public API: none. Wire: none.

- [js/common's worklet dev-server test holds up under load](/quest/m0/test-flakes-2/worklet-dev-server.md) - the dev-server test passes on a loaded host, and its `test.skip` is removed
- [Interop's finish cases hold up under load](/quest/m0/test-flakes-2/interop-finish.md) - every publisher's finish cells pass under load, and the scenario's quarantine is removed
- [Kotlin's playout-delay smoke test holds up under load](/quest/m0/test-flakes-2/kt-playout-delay.md) - the audio playout-delay smoke test passes under load, and its `@Ignore` is removed
26 changes: 26 additions & 0 deletions quest/m0/test-flakes-2/kt-playout-delay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# [S] Kotlin's playout-delay smoke test holds up under load

## Goal

`audio consumer reports its playout delay` in
`kt/moq/src/jvmAndAndroidTest/kotlin/dev/moq/SmokeTest.kt` passes reliably
under a loaded `just check`, fixed at its cause, and its `@Ignore` is
removed.

## Plan

Planned 2026-11-10 (maintainer, /quest-complete), under the repository's
flaky-test rule: ✅ quarantine now and investigate here (rejected: wait for
a CI failure). While iterating
[moq-dev/moq#8395](https://github.com/moq-dev/moq/pull/8395), which does not
touch it, the test failed once with a coroutine timeout in a full
`just check`, then passed on the next two runs.

The test asserts that a fixed playout delay is reported back as is and that
an estimated one moves as frames are read. Under `runTest`, a timeout means
the test waited on wall-clock progress from the native side (frames read,
the estimate moving) past the coroutine test's budget. Reproduce under load
first; then wait on the event the assertion needs instead of a deadline, as
the epic's rules say, rather than raising the timeout.

Public API: none. Wire: none.