diff --git a/tests/by-util/test_tail.rs b/tests/by-util/test_tail.rs index 75a7a65be..50b404c91 100644 --- a/tests/by-util/test_tail.rs +++ b/tests/by-util/test_tail.rs @@ -76,6 +76,9 @@ const FOLLOW_NAME_SHORT_EXP: &str = "follow_name_short.expected"; #[allow(dead_code)] const FOLLOW_NAME_EXP: &str = "follow_name.expected"; +#[cfg(target_vendor = "apple")] +const DEFAULT_SLEEP_INTERVAL_MILLIS: u64 = 1500; +#[cfg(not(target_vendor = "apple"))] const DEFAULT_SLEEP_INTERVAL_MILLIS: u64 = 1000; // The binary integer "10000000" is *not* a valid UTF-8 encoding @@ -1419,6 +1422,9 @@ fn test_retry6() { .arg("existing") .run_no_wait(); + #[cfg(target_vendor = "apple")] + let delay = 1500; + #[cfg(not(target_vendor = "apple"))] let delay = 1000; p.make_assertion_with_delay(delay).is_alive();