mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
test_tail: increase delay for test_follow_name_move_create2
Increase delay for this test to be more resillient against load-jitter on the CI test VMs.
This commit is contained in:
parent
0532c743f1
commit
435984713a
1 changed files with 3 additions and 2 deletions
|
@ -1877,10 +1877,10 @@ fn test_follow_name_move_create2() {
|
||||||
"9",
|
"9",
|
||||||
];
|
];
|
||||||
|
|
||||||
let delay = 300;
|
let mut delay = 500;
|
||||||
for _ in 0..2 {
|
for _ in 0..2 {
|
||||||
let mut p = ts.ucmd().set_stdin(Stdio::null()).args(&args).run_no_wait();
|
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");
|
at.truncate("9", "x\n");
|
||||||
sleep(Duration::from_millis(delay));
|
sleep(Duration::from_millis(delay));
|
||||||
|
@ -1916,6 +1916,7 @@ fn test_follow_name_move_create2() {
|
||||||
|
|
||||||
at.remove("f");
|
at.remove("f");
|
||||||
args.push("---disable-inotify");
|
args.push("---disable-inotify");
|
||||||
|
delay = 2000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue