Skip to content

Commit 1fbf636

Browse files
committed
tests: add 2s mtime guard in nested update integration
1 parent f517d54 commit 1fbf636

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/tests/cli_integration.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ fn update_from_nested_subdir_uses_root_locations() {
153153
"http://example.org/ont/A",
154154
"<http://example.org/ont/A> <http://example.org/p> <http://example.org/o> .",
155155
);
156+
// Ensure mtime advances on filesystems with coarse timestamp granularity (e.g., Windows).
157+
std::thread::sleep(std::time::Duration::from_millis(2000));
156158

157159
let nested = root.join("nested").join("deeper");
158160
fs::create_dir_all(&nested).unwrap();

0 commit comments

Comments
 (0)