Skip to content

Commit

Permalink
.bzip2.rs: sleep for a bit longer to really verify timestamp is upd…
Browse files Browse the repository at this point in the history
…ated
  • Loading branch information
Folkert de Vries committed Nov 13, 2024
1 parent 6a565cd commit 97cce6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/quick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ mod decompress_command {
let input_metadata = std::fs::metadata(&sample1_tar_bz2).unwrap();

// sleep so that we'd notice if the timestamp was not set correctly
std::thread::sleep(Duration::from_secs(1));
std::thread::sleep(Duration::from_millis(1700));

expect_success!(
cmd.arg("-d").arg("-vvvf").arg(&sample1_tar_bz2),
Expand Down Expand Up @@ -1570,7 +1570,7 @@ mod compress_command {
let input_metadata = std::fs::metadata(&sample1_ref).unwrap();

// sleep so that we'd notice if the timestamp was not set correctly
std::thread::sleep(Duration::from_secs(1));
std::thread::sleep(Duration::from_millis(1700));

expect_success!(
cmd.arg("-z").arg("-vvvf").arg(&sample1_ref),
Expand Down

0 comments on commit 97cce6b

Please sign in to comment.