mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8207244: java/nio/channels/Selector/SelectWithConsumer.java testInterruptDuringSelect() fails intermittently
Reviewed-by: alanb
This commit is contained in:
parent
7f98a31e8d
commit
cf4bbcecb0
@ -411,8 +411,6 @@ public class SelectWithConsumer {
|
||||
int n = sel.select(k -> assertTrue(false), 60*1000);
|
||||
long duration = System.currentTimeMillis() - start;
|
||||
assertTrue(n == 0);
|
||||
assertTrue(duration > 500 && duration < 5000,
|
||||
"select took " + duration + " ms");
|
||||
assertTrue(Thread.currentThread().isInterrupted());
|
||||
assertTrue(sel.isOpen());
|
||||
} finally {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user