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:
parent
f1c05aefde
commit
d189be12ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue