From bbd7c2094a44fcbcc4a3a3aedef236c4d697d793 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Mon, 10 Aug 2026 14:09:10 +0200 Subject: [PATCH] test(windows): serialize media player environment access (#2619) --- src/sound.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound.rs b/src/sound.rs index ec4106db..d1b4fc90 100644 --- a/src/sound.rs +++ b/src/sound.rs @@ -450,6 +450,7 @@ mod tests { #[cfg(windows)] #[test] fn windows_media_player_reports_invalid_media_without_waiting_for_timeout() { + let _lock = crate::integration::integration_env_lock(); let path = temp_sound_path(); std::fs::write(&path, b"not an mp3").unwrap(); let output = run_windows_player(&path).unwrap();