8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
Contributed-by: yiming.wang@oracle.com
--- a/jdk/test/java/nio/file/WatchService/SensitivityModifier.java Mon Sep 09 19:07:05 2013 -0700
+++ b/jdk/test/java/nio/file/WatchService/SensitivityModifier.java Tue Sep 10 10:42:55 2013 +0100
@@ -100,7 +100,7 @@
}
key.reset();
key = watcher.poll(1, TimeUnit.SECONDS);
- } while (key != null && !eventReceived);
+ } while (key != null);
// we should have received at least one ENTRY_MODIFY event
if (eventReceived) {