You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2015/12/13 07:51:11 UTC

svn commit: r1719767 - /river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td

Author: peter_firmstone
Date: Sun Dec 13 06:51:11 2015
New Revision: 1719767

URL: http://svn.apache.org/viewvc?rev=1719767&view=rev
Log:
Skip MultihomedClientTest - seems to be having problems with sun name service provider spi. This is scheduled for removal in Java 9, however some functionality has been provided as per below.

Reference material:

https://bugs.openjdk.java.net/browse/JDK-8134577

To facilitate testing activity, and provide a replacement for the
customized NameService implementations in the
JDK tests, the default NameService has been extended to support
the retrieval of host to IP address mappings from a file.
The file path is specified with a system property " jdk.internal.hosts".

Previously a nameservice provider was specified by setting the system
property
"sun.net.spi.nameservice.provider.", as per the documentation
http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html

Modified:
    river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td

Modified: river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td?rev=1719767&r1=1719766&r2=1719767&view=diff
==============================================================================
--- river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td (original)
+++ river/jtsk/trunk/qa/src/org/apache/river/test/impl/reggie/MultihomedClientTest.td Sun Dec 13 06:51:11 2015
@@ -1,6 +1,23 @@
 # Name service provider has been moved to an external
 # library to allow compilation on platforms other than Sun JVM.
-org.apache.river.qa.harness.verifier=org.apache.river.qa.harness.SkipNonSunJDKTestVerifier
+#org.apache.river.qa.harness.verifier=org.apache.river.qa.harness.SkipNonSunJDKTestVerifier
+# This test uses a name service provider, unfortunately this doesn't seem to
+# be working properly with Java 8 and IPv6.  From Java 9, this nameservice provider
+# has been removed, thus this test cannot run.
+org.apache.river.qa.harness.verifier=org.apache.river.qa.harness.SkipTestVerifier
+#https://bugs.openjdk.java.net/browse/JDK-8134577
+#
+#To facilitate testing activity, and provide a replacement for the
+#customized NameService implementations in the
+#JDK tests, the default NameService has been extended to support
+#the retrieval of host to IP address mappings from a file.
+#The file path is specified with a system property " jdk.internal.hosts".
+#
+#Previously a nameservice provider was specified by setting the system
+#property
+#"sun.net.spi.nameservice.provider.", as per the documentation
+#http://docs.oracle.com/javase/8/docs/technotes/guides/net/properties.html
+
 testClass=MultihomedClientTest
 testCategories=lookupservice,lookupservice_impl
 testPolicyfile=<url: harness/policy/policy.all>