JDK 9 RFR of JDK-8157499: Mark several tests from jdk_net as intermittently failing
Amy Lu
amy.lu at oracle.com
Mon May 23 06:39:12 UTC 2016
Below tests are known to fail intermittently. This patch is to mark the
test accordingly with keyword 'intermittent’ until issue resolved.
java/net/MulticastSocket/TestInterfaces.java (JDK-8134989)
java/net/DatagramSocket/PortUnreachable.java (JDK-8085875)
java/net/InetAddress/IsReachableViaLoopbackTest.java (JDK-8139929)
sun/net/www/http/ChunkedOutputStream/checkError.java (JDK-8041924)
bug: https://bugs.openjdk.java.net/browse/JDK-8157499
webrev: http://cr.openjdk.java.net/~amlu/8157499/webrev.00/
Thanks,
Amy
--- old/test/java/net/DatagramSocket/PortUnreachable.java 2016-05-23 14:31:49.000000000 +0800
+++ new/test/java/net/DatagramSocket/PortUnreachable.java 2016-05-23 14:31:49.000000000 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2013 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4361783
+ * @key intermittent
* @summary Test to see if ICMP Port Unreachable on non-connected
* DatagramSocket causes a SocketException "socket closed"
* exception on Windows 2000.
--- old/test/java/net/InetAddress/IsReachableViaLoopbackTest.java 2016-05-23 14:31:50.000000000 +0800
+++ new/test/java/net/InetAddress/IsReachableViaLoopbackTest.java 2016-05-23 14:31:50.000000000 +0800
@@ -5,6 +5,7 @@
/**
* @test
* @bug 8135305
+ * @key intermittent
* @summary ensure we can't ping external hosts via loopback if
*/
--- old/test/java/net/MulticastSocket/TestInterfaces.java 2016-05-23 14:31:50.000000000 +0800
+++ new/test/java/net/MulticastSocket/TestInterfaces.java 2016-05-23 14:31:50.000000000 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 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
@@ -24,6 +24,7 @@
/*
* @test
* @bug 4422122
+ * @key intermittent
* @summary Test that MulticastSocket.getInterface returns the
* same InetAddress set by MulticastSocket.setInterface
*/
--- old/test/sun/net/www/http/ChunkedOutputStream/checkError.java 2016-05-23 14:31:51.000000000 +0800
+++ new/test/sun/net/www/http/ChunkedOutputStream/checkError.java 2016-05-23 14:31:51.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
@@ -24,6 +24,7 @@
/**
* @test
* @bug 5054016
+ * @key intermittent
* @run main/othervm/timeout=300 checkError
* @summary get the failure immediately when writing individual chunks over socket fail
*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20160523/094c78c2/attachment-0001.html>
More information about the net-dev
mailing list