Tests: Increase the TestPlaybackStream disconnection timeout

Apparently the queued task often takes longer than 100ms to finish,
and the stream is kept alive for the duration of its execution.
This commit is contained in:
Zaggy1024
2026-03-30 18:42:24 -05:00
committed by Gregory Bertilson
parent f1c05aefde
commit d189be12ba
Notes: github-actions[bot] 2026-03-31 01:58:12 +00:00

View File

@@ -60,7 +60,7 @@ TEST_CASE(create_and_destroy_playback_stream)
// some operations, so it won't necessarily be destroyed immediately.
auto wait_start = MonotonicTime::now_coarse();
while (Audio::PulseAudioContext::is_connected()) {
if (MonotonicTime::now_coarse() - wait_start > AK::Duration::from_milliseconds(100))
if (MonotonicTime::now_coarse() - wait_start > AK::Duration::from_milliseconds(1000))
VERIFY_NOT_REACHED();
}
# endif