Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ class VoiceRecorderTest {

assertTrue(second.isFailure)
assertEquals(VoiceRecorderError.ConcurrentRecording, second.exceptionOrNull())
// First recording still active; stop for clean teardown.
// First recording still active; let the capture loop write at
// least one buffer before stop, otherwise the cleanup returns
// EmptyRecording on slow CI runners (race between start and the
// first AudioCapture.read).
waitForCaptureProgress()
recorder.stop().getOrThrow()
}

Expand Down