8157499: Mark several tests from jdk_net as intermittently failing
Reviewed-by: chegar
--- a/jdk/test/java/net/DatagramSocket/PortUnreachable.java Mon May 23 14:49:42 2016 -0700
+++ b/jdk/test/java/net/DatagramSocket/PortUnreachable.java Tue May 24 11:28:29 2016 +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.
--- a/jdk/test/java/net/InetAddress/IsReachableViaLoopbackTest.java Mon May 23 14:49:42 2016 -0700
+++ b/jdk/test/java/net/InetAddress/IsReachableViaLoopbackTest.java Tue May 24 11:28:29 2016 +0800
@@ -5,6 +5,7 @@
/**
* @test
* @bug 8135305
+ * @key intermittent
* @summary ensure we can't ping external hosts via loopback if
*/
--- a/jdk/test/java/net/MulticastSocket/TestInterfaces.java Mon May 23 14:49:42 2016 -0700
+++ b/jdk/test/java/net/MulticastSocket/TestInterfaces.java Tue May 24 11:28:29 2016 +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
*/
--- a/jdk/test/sun/net/www/http/ChunkedOutputStream/checkError.java Mon May 23 14:49:42 2016 -0700
+++ b/jdk/test/sun/net/www/http/ChunkedOutputStream/checkError.java Tue May 24 11:28:29 2016 +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
*/