Skip to content

Commit 08843a0

Browse files
committed
attempt to fix test suite race on mac
1 parent b7ecbaf commit 08843a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testsuite/build_script.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2545,6 +2545,7 @@ fn rebuild_only_on_explicit_paths() {
25452545
sleep_ms(1000);
25462546
File::create(p.root().join("foo")).unwrap();
25472547
File::create(p.root().join("bar")).unwrap();
2548+
sleep_ms(1000); // make sure the to-be-created outfile has a timestamp distinct from the infiles
25482549

25492550
// now the exist, so run once, catch the mtime, then shouldn't run again
25502551
println!("run with");

0 commit comments

Comments
 (0)