JDK 10 RFR of JDK-8183512: Remove intermittent key from nio test Transfer4GBFile.java TransferTo6GBFile.java and StressLoopback.java

Amy Lu amy.lu at oracle.com
Tue Jul 4 02:13:56 UTC 2017


java/nio/channels/FileChannel/Transfer4GBFile.java
java/nio/channels/FileChannel/TransferTo6GBFile.java
java/nio/channels/AsynchronousSocketChannel/StressLoopback.java

Tests were failing intermittently and the related bugs (JDK-8176895, 
JDK-8177550 and JDK-8171347) have been fixed, no open bugs (no failure 
reported).

This patch is to remove @key intermittent from these tests.

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

Thanks,
Amy


--- old/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java	2017-07-04 10:05:50.000000000 +0800
+++ new/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java	2017-07-04 10:05:50.000000000 +0800
@@ -26,7 +26,7 @@
   * @summary Stress test connections through the loopback interface
   * @run main StressLoopback
   * @run main/othervm -Djdk.net.useFastTcpLoopback StressLoopback
- * @key randomness intermittent
+ * @key randomness
   */
  
  import java.nio.ByteBuffer;
--- old/test/java/nio/channels/FileChannel/Transfer4GBFile.java	2017-07-04 10:05:51.000000000 +0800
+++ new/test/java/nio/channels/FileChannel/Transfer4GBFile.java	2017-07-04 10:05:51.000000000 +0800
@@ -23,7 +23,6 @@
  
  /* @test
   * @bug 4638365
- * @key intermittent
   * @summary Test FileChannel.transferFrom and transferTo for 4GB files
   * @run testng/timeout=300 Transfer4GBFile
   */
--- old/test/java/nio/channels/FileChannel/TransferTo6GBFile.java	2017-07-04 10:05:52.000000000 +0800
+++ new/test/java/nio/channels/FileChannel/TransferTo6GBFile.java	2017-07-04 10:05:51.000000000 +0800
@@ -23,7 +23,6 @@
  
  /* @test
   * @bug 6253145
- * @key intermittent
   * @summary Test FileChannel.transferTo with file positions up to 8GB
   * @run testng/timeout=300 TransferTo6GBFile
   */



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170704/5a09df06/attachment.html>


More information about the nio-dev mailing list