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

Improve watcher test stability
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-05-26 21:01:41 -04:00
commit a78ddfd9d4
1 file changed
+2 -2
+2 -2
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);