8042902: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently
authorxyin
Fri, 07 Sep 2018 09:09:31 +0800
changeset 51664 a8bdd9c24d37
parent 51663 a65d8a6fa424
child 51665 cda49f297cb1
8042902: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently Reviewed-by: chegar
test/jdk/java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java
--- a/test/jdk/java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java	Thu Sep 06 18:06:24 2018 -0700
+++ b/test/jdk/java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java	Fri Sep 07 09:09:31 2018 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, 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
@@ -192,6 +192,7 @@
                     System.err.println("Testing with " + iadr);
                     System.err.println(" scoped iface: "
                             + i6adr.getScopedInterface());
+                    System.err.println(" hostname: " + i6adr.getHostName());
                     testInet6AddressSerialization(i6adr, null);
                 }
             }