JDK 9 RFR of JDK-8075670: Remove intermittent keyword from some tests

joe darcy joe.darcy at oracle.com
Mon Mar 23 03:56:31 UTC 2015


Hello,

Upon closer review, some of the tests marked as failing intermittently 
in JDK-8075565 seem to just have suffered from transient infrastructure 
problems. Therefore, those tests

  test/java/nio/channels/AsynchronousSocketChannel/Basic.java
  test/java/nio/channels/Selector/Wakeup.java
  test/java/nio/file/Files/InterruptCopy.java

  should not be marked as failing intermittently. The patch to make this 
adjustment is below.

Thanks,

-Joe

diff -r 9a05a4f72827 
test/java/nio/channels/AsynchronousSocketChannel/Basic.java
--- a/test/java/nio/channels/AsynchronousSocketChannel/Basic.java Sun 
Mar 22 10:27:22 2015 -0700
+++ b/test/java/nio/channels/AsynchronousSocketChannel/Basic.java Sun 
Mar 22 20:53:29 2015 -0700
@@ -25,7 +25,6 @@
   * @bug 4607272 6842687 6878369 6944810 7023403
   * @summary Unit test for AsynchronousSocketChannel
   * @run main Basic -skipSlowConnectTest
- * @key intermittent
   */

  import java.nio.ByteBuffer;
diff -r 9a05a4f72827 test/java/nio/channels/Selector/Wakeup.java
--- a/test/java/nio/channels/Selector/Wakeup.java    Sun Mar 22 10:27:22 
2015 -0700
+++ b/test/java/nio/channels/Selector/Wakeup.java    Sun Mar 22 20:53:29 
2015 -0700
@@ -25,7 +25,6 @@
   * @bug 6405995
   * @summary Unit test for selector wakeup and interruption
   * @library ..
- * @key intermittent
   */

  import java.io.*;
diff -r 9a05a4f72827 test/java/nio/file/Files/InterruptCopy.java
--- a/test/java/nio/file/Files/InterruptCopy.java    Sun Mar 22 10:27:22 
2015 -0700
+++ b/test/java/nio/file/Files/InterruptCopy.java    Sun Mar 22 20:53:29 
2015 -0700
@@ -25,7 +25,6 @@
   * @bug 4313887 6993267
   * @summary Unit test for Sun-specific 
ExtendedCopyOption.INTERRUPTIBLE option
   * @library ..
- * @key intermittent
   */

  import java.nio.file.*;



More information about the core-libs-dev mailing list