JDK 9 RFR of JDK-8137232: Mark 3 more core-libs tests as intermittently failing

Amy Lu amy.lu at oracle.com
Mon Sep 28 10:58:39 UTC 2015


Below tests are known to fail intermittently:

java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java
java/net/NetworkInterface/NetworkInterfaceStreamTest.java
javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java

This patch is to mark them accordingly with keyword 'intermittent'.

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

Thanks,
Amy

--- old/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java 
  2015-09-28 15:25:27.000000000 +0800
+++ new/test/java/net/NetworkInterface/NetworkInterfaceStreamTest.java 
  2015-09-28 15:25:27.000000000 +0800
@@ -28,6 +28,7 @@
   * @build java.util.stream.OpTestCase
   * @run testng/othervm NetworkInterfaceStreamTest
   * @run testng/othervm -Djava.net.preferIPv4Stack=true 
NetworkInterfaceStreamTest
+ * @key intermittent
   */

  import org.testng.annotations.Test;
--- 
old/test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java 
  2015-09-28 15:25:28.000000000 +0800
+++ 
new/test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java 
  2015-09-28 15:25:28.000000000 +0800
@@ -36,6 +36,7 @@
   *          java.rmi/sun.rmi.transport.tcp
   * @build TestLibrary RMID ActivationLibrary
   * @run main/othervm/timeout=240 InheritedChannelNotServerSocket
+ * @key intermittent
   */

  import java.io.IOException;
--- old/test/javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java 
  2015-09-28 15:25:29.000000000 +0800
+++ new/test/javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java 
  2015-09-28 15:25:29.000000000 +0800
@@ -29,6 +29,7 @@
   * @build jdk.testlibrary.*
   * @build Test HelloInterface HelloServer HelloClient HelloImpl 
_HelloImpl_Tie _HelloInterface_Stub ConcurrentHashMapTest
   * @run main/othervm -Djava.naming.provider.url=iiop://localhost:1050 
-Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory 
ConcurrentHashMapTest
+ * @key intermittent
   */








More information about the core-libs-dev mailing list