Skip to content

Commit

Permalink
test_tail: increase delay for test_follow_name_move_create2
Browse files Browse the repository at this point in the history
Increase delay for this test to be more resillient against
load-jitter on the CI test VMs.
  • Loading branch information
jhscheer committed Jun 9, 2022
1 parent 0532c74 commit 4359847
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/by-util/test_tail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1877,10 +1877,10 @@ fn test_follow_name_move_create2() {
"9",
];

let delay = 300;
let mut delay = 500;
for _ in 0..2 {
let mut p = ts.ucmd().set_stdin(Stdio::null()).args(&args).run_no_wait();
sleep(Duration::from_millis(100));
sleep(Duration::from_millis(delay));

at.truncate("9", "x\n");
sleep(Duration::from_millis(delay));
Expand Down Expand Up @@ -1916,6 +1916,7 @@ fn test_follow_name_move_create2() {

at.remove("f");
args.push("---disable-inotify");
delay = 2000;
}
}

Expand Down

0 comments on commit 4359847

Please sign in to comment.