mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
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:
committed by
Gregory Bertilson
parent
f1c05aefde
commit
d189be12ba
Notes:
github-actions[bot]
2026-03-31 01:58:12 +00:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/LadybirdBrowser/ladybird/commit/d189be12bad Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8689
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user