test/jdk/java/net/CookieHandler/LocalHostCookie.java
changeset 55399 46049b8a5658
parent 47216 71c04702a3d5
child 58365 73950479184b
--- a/test/jdk/java/net/CookieHandler/LocalHostCookie.java	Mon Jun 17 15:31:49 2019 +0800
+++ b/test/jdk/java/net/CookieHandler/LocalHostCookie.java	Mon Jun 17 20:03:34 2019 +0100
@@ -33,8 +33,11 @@
 /*
  * @test
  * @bug 7169142
+ * @key intermittent
  * @modules jdk.httpserver
- * @summary CookieHandler does not work with localhost
+ * @summary CookieHandler does not work with localhost. This requires
+ *    binding to the wildcard address and might fail intermittently
+ *    due to port reuse issues.
  * @run main/othervm LocalHostCookie
  */
 public class LocalHostCookie {
@@ -126,4 +129,3 @@
         }
     }
 }
-