tests/integration: increase mpv command timeout
This commit is contained in:
parent
8a08d80c32
commit
531de70b96
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user