Fix test transition between different directory watchers.
This commit is contained in:
parent
2ea3a7ceb1
commit
1ec93b5336
|
@ -73,7 +73,10 @@ void runTest()
|
|||
write(bar, null);
|
||||
assert(!watcher.readChanges(changes, 100.msecs));
|
||||
remove(bar);
|
||||
assert(!watcher.readChanges(changes, 1500.msecs));
|
||||
|
||||
watcher = NativePath(dir).watchDirectory(Yes.recursive);
|
||||
assert(!watcher.readChanges(changes, 1500.msecs));
|
||||
write(foo, null);
|
||||
sleep(sleepTime);
|
||||
write(foo, [0, 1]);
|
||||
|
|
Loading…
Reference in a new issue