Skip to content

Commit 252ec26

Browse files
sylvestrecakebaker
authored andcommitted
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.
1 parent 5605eac commit 252ec26

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/by-util/test_tail.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,9 @@ fn test_follow_name_multiple() {
649649

650650
#[cfg(target_os = "linux")]
651651
let delay = 100;
652-
// unstable on macOS
653-
#[cfg(not(target_os = "linux"))]
652+
#[cfg(target_os = "macos")]
653+
let delay = 2000;
654+
#[cfg(not(any(target_os = "linux", target_os = "macos")))]
654655
let delay = 1000;
655656

656657
child

0 commit comments

Comments
 (0)