From 252ec26f5212528cc98a17e9098c847cd5e51b96 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 8 Apr 2026 10:52:31 +0200 Subject: [PATCH] tests: tail: increase delay for test_follow_name_multiple on macOS * tests/by-util/test_tail.rs (test_follow_name_multiple): Increase the delay on macOS to 2000ms to avoid intermittent failures due to slower follow-name change detection on macOS CI. --- tests/by-util/test_tail.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 0d328dfd7..c1b755bda 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -649,8 +649,9 @@ fn test_follow_name_multiple() { #[cfg(target_os = "linux")] let delay = 100; - // unstable on macOS - #[cfg(not(target_os = "linux"))] + #[cfg(target_os = "macos")] + let delay = 2000; + #[cfg(not(any(target_os = "linux", target_os = "macos")))] let delay = 1000; child