Index: pkg/watcher/test/directory_watcher/mac_os_test.dart |
diff --git a/pkg/watcher/test/directory_watcher/mac_os_test.dart b/pkg/watcher/test/directory_watcher/mac_os_test.dart |
index 077787a29e6c624bb364fe556a6384af7ef6d18c..43567f0e79c07850347940481c5b2924eebc6460 100644 |
--- a/pkg/watcher/test/directory_watcher/mac_os_test.dart |
+++ b/pkg/watcher/test/directory_watcher/mac_os_test.dart |
@@ -36,24 +36,26 @@ main() { |
expectAddEvent("dir/newer.txt"); |
}); |
- test('emits events for many nested files moved out then immediately back in', |
- () { |
- withPermutations((i, j, k) => |
- writeFile("dir/sub/sub-$i/sub-$j/file-$k.txt")); |
- |
- startWatcher(dir: "dir"); |
- |
- renameDir("dir/sub", "sub"); |
- renameDir("sub", "dir/sub"); |
- |
- inAnyOrder(() { |
- withPermutations((i, j, k) => |
- expectRemoveEvent("dir/sub/sub-$i/sub-$j/file-$k.txt")); |
- }); |
- |
- inAnyOrder(() { |
- withPermutations((i, j, k) => |
- expectAddEvent("dir/sub/sub-$i/sub-$j/file-$k.txt")); |
- }); |
- }); |
+ // TODO(nweiz): re-enable this when issue 16003 is fixed. |
+ // test('emits events for many nested files moved out then immediately back in', |
+ // () { |
+ // withPermutations((i, j, k) => |
+ // writeFile("dir/sub/sub-$i/sub-$j/file-$k.txt")); |
+ |
+ // startWatcher(dir: "dir"); |
+ |
+ // renameDir("dir/sub", "sub"); |
+ // renameDir("sub", "dir/sub"); |
+ |
+ // allowEither(() { |
+ // inAnyOrder(withPermutations((i, j, k) => |
+ // isRemoveEvent("dir/sub/sub-$i/sub-$j/file-$k.txt"))); |
+ |
+ // inAnyOrder(withPermutations((i, j, k) => |
+ // isAddEvent("dir/sub/sub-$i/sub-$j/file-$k.txt"))); |
+ // }, () { |
+ // inAnyOrder(withPermutations((i, j, k) => |
+ // isModifyEvent("dir/sub/sub-$i/sub-$j/file-$k.txt"))); |
+ // }); |
+ // }); |
} |