mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix(tail): increase retry delay and sleep interval for flaky test (#11278)
Increases the retry delay from 100ms to 400ms and sleep interval from 0.1s to 0.2s in test_retry9 to address flaky test behavior caused by timing sensitivity.
This commit is contained in:
@@ -1721,14 +1721,14 @@ fn test_retry9() {
|
||||
);
|
||||
let expected_stdout = "foo\nbar\nfoo\nbar\n";
|
||||
|
||||
let delay = 100;
|
||||
let delay = 400;
|
||||
|
||||
at.mkdir(parent_dir);
|
||||
at.truncate(user_path, "foo\n");
|
||||
let mut p = ts
|
||||
.ucmd()
|
||||
.arg("-F")
|
||||
.arg("-s.1")
|
||||
.arg("-s.2")
|
||||
.arg("--max-unchanged-stats=1")
|
||||
.arg(user_path)
|
||||
.run_no_wait();
|
||||
|
||||
Reference in New Issue
Block a user