mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
* mac: increase tail test delays to fix intermittent failure
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user