Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7188847

Network tests need public hosts by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8
    • core-libs
    • None
    • generic
    • generic

      This is a SUNBUG for https://bugs.openjdk.java.net/show_bug.cgi?id=100066

      Description

      Created an attachment (id=84) [details]
      Use public hosts for network tests patch

      The current default hosts in TestEnv aren't public machines. This patch makes
      sets the defaults to publicly accessible hosts (you can of course still set
      private local non-public hosts if you wish through the test environment).

      I also made sure the cname.sh test uses the far_host to do its tests instead of
      a hardcoded one. And I changed the SocketChannel LocalAddress and Shutdown
      tests to use the echo service. Since the echo service already has to be enabled
      for other tests and it seemed easier for a public host setup to not have to
      open up a telnet port.

      All the tests using TestEnv now PASS by default without needing to change any
      settings. This has been in use in IcedTea for more than half a year now with
      good results. It would be nice to get this in OpenJDK to keep the divergence to
      a minimum.

      See also the discussion on the mailinglist:
      http://mail.openjdk.java.net/pipermail/jdk6-dev/2008-November/000268.html

            Unassigned Unassigned
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: