Setting public TestEnv defaults for net/nio tests needing hosts (original) (raw)

Alan Bateman Alan.Bateman at Sun.COM
Thu Jun 4 09:58:20 PDT 2009


Mark Wielaard wrote:

: The jdk6 and jdk7 environments are still somewhat dissimilar, but thanks to Andrew Hughes the patches have been ported to make sure they also work on jdk7 out of the box by default using just public hosts without the need to change anything in your test environment locally. Attached is the patch against jdk7.

I also filed (the jdk6 version) in bugzilla so it doesn't get forgotten: https://bugs.openjdk.java.net/showbug.cgi?id=100066 Thanks, Mark It's been on my list to forward-port the TestEnv and test updates to jdk7 (just haven't got to it yet). The idea with that was that jtreg would be run with a properties file that listed the hosts that the tests depend on (eg: jtreg -e JTREG_TESTENV=openjdk-hosts.properties). We (meaning Joe and I) kinda hoped that would be preferable to patching TestEnv but maybe this isn't the case. Changing these tests to not depend on the telnet port is a good idea as it is hard to find systems with that legacy service enabled. Changing the defaults to hosts outside of Sun is reasonable in principle but this is going to cause disruption for our test teams when running on test systems that will not be able to connect to these systems. I need to check into this and also to see if openjdk.java.net systems could be used, or maybe just re-visit these tests to not depend on other hosts.

-Alan.



More information about the jdk6-dev mailing list