diff --git a/components/background_hang_monitor/tests/hang_monitor_tests.rs b/components/background_hang_monitor/tests/hang_monitor_tests.rs index dbccb5e50de..23b32dd1bbb 100644 --- a/components/background_hang_monitor/tests/hang_monitor_tests.rs +++ b/components/background_hang_monitor/tests/hang_monitor_tests.rs @@ -130,7 +130,7 @@ fn test_hang_monitoring() { #[test] // https://github.com/servo/servo/issues/28270 -#[cfg(not(target_os = "windows"))] +#[cfg(not(any(target_os = "windows", target_os = "macos")))] fn test_hang_monitoring_unregister() { let _lock = SERIAL.lock().unwrap(); @@ -166,7 +166,7 @@ fn test_hang_monitoring_unregister() { #[test] // https://github.com/servo/servo/issues/28270 -#[cfg(not(target_os = "windows"))] +#[cfg(not(any(target_os = "windows", target_os = "macos")))] fn test_hang_monitoring_exit_signal() { let _lock = SERIAL.lock().unwrap();