Document nonblocking audio cleanup and keep lifecycle tests on main

This commit is contained in:
evgeny committed 2026-10-29 13:34:25 +01:00
1 parent ff1f7a4bb8
commit 5dffdee8ff
1 file changed
+2 -2
@@ -176,7 +176,7 @@ class CallAudioLifecycleTest {
engine.stop(); assertEquals(1, stops())
}
@Test(timeout = 5_000) fun blockedRecordStartupCannotHoldMainBeforeTheBoundedJoin() {
@Test fun blockedRecordStartupCannotHoldMainBeforeTheBoundedJoin() {
val entered = CountDownLatch(1)
val unblock = CountDownLatch(1).also { gates.add(it) }
AudioRecord.nextOnStart = { entered.countDown(); unblock.await() }
@@ -192,7 +192,7 @@ class CallAudioLifecycleTest {
engine.stop(); assertEquals(1, stops())
}
@Test(timeout = 5_000) fun blockedTimestampReporterCannotHoldMainOrReleaseItsOutputEarly() {
@Test fun blockedTimestampReporterCannotHoldMainOrReleaseItsOutputEarly() {
start()
val entered = CountDownLatch(1)
val unblock = CountDownLatch(1).also { gates.add(it) }