mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 07:08:44 +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:
@@ -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