8023878: (fs) TEST_BUG java/nio/file/WatchService/SensitivityModifier.java fails intermittently
Reviewed-by: alanb
This commit is contained in:
parent
d5c45c6cde
commit
befcecbd00
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user