mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2026-10-27 08:51:00 +00:00
Merge pull request #98 from PR0M3TH3AN/codex/handle-rename-event-and-update-sqlite-table
Improve watcher test stability
This commit is contained in:
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user