java/nio/channels/Selector/SelectAndClose.java

This test is known to fail intermittently (JDK-8152814). This patch is to mark the test accordingly with keyword 'intermittent'.

bug: https://bugs.openjdk.java.net/browse/JDK-8153722
webrev: http://cr.openjdk.java.net/~amlu/8153722/webrev.00/

Thanks,
Amy

--- old/test/java/nio/channels/Selector/SelectAndClose.java     2016-04-08 
18:36:17.000000000 +0800
+++ new/test/java/nio/channels/Selector/SelectAndClose.java     2016-04-08 
18:36:17.000000000 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@
/* @test
  * @bug 5004077
+ * @key intermittent
  * @summary Check blocking of select and close
  */

Reply via email to