tests/integration: increase mpv command timeout
This commit is contained in:
parent
be5c37b433
commit
13397a59f7
@ -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