tests/integration: increase mpv command timeout

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-12 12:19:13 +01:00
parent 8a08d80c32
commit 531de70b96
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -25,7 +25,7 @@ pub async fn spawn_headless_mpv() -> Result<(Child, Mpv), MpvError> {
.spawn() .spawn()
.expect("Failed to start mpv"); .expect("Failed to start mpv");
timeout(Duration::from_millis(500), async { timeout(Duration::from_millis(1000), async {
while !&socket_path.exists() { while !&socket_path.exists() {
sleep(Duration::from_millis(10)).await; sleep(Duration::from_millis(10)).await;
} }