提交 fb91f831 编写于 作者: A alanb

8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently

Reviewed-by: alanb
Contributed-by: yiming.wang@oracle.com
上级 5a140995
...@@ -100,7 +100,7 @@ public class SensitivityModifier { ...@@ -100,7 +100,7 @@ public class SensitivityModifier {
} }
key.reset(); key.reset();
key = watcher.poll(1, TimeUnit.SECONDS); key = watcher.poll(1, TimeUnit.SECONDS);
} while (key != null && !eventReceived); } while (key != null);
// we should have received at least one ENTRY_MODIFY event // we should have received at least one ENTRY_MODIFY event
if (eventReceived) { if (eventReceived) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册