Merge pull request #98 from PR0M3TH3AN/codex/handle-rename-event-and-update-sqlite-table

Improve watcher test stability
This commit is contained in:
thePR0M3TH3AN
2025-05-26 21:01:41 -04:00
committed by GitHub

View File

@@ -74,7 +74,7 @@ mod tests {
)
.unwrap();
thread::sleep(Duration::from_millis(100));
thread::sleep(Duration::from_millis(250));
let new_file = dir.join("b.txt");
fs::rename(&file, &new_file).unwrap();
@@ -123,7 +123,7 @@ mod tests {
)
.unwrap();
thread::sleep(Duration::from_millis(100));
thread::sleep(Duration::from_millis(250));
let new = dir.join("newdir");
fs::rename(&sub, &new).unwrap();
let new_canonical = canonicalize_lossy(&new);