Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-155

Remoting testsuite has hard-coded IPv6 addresses making it less portable

XMLWordPrintable

    • Icon: Quality Risk Quality Risk
    • Resolution: Done
    • Icon: Major Major
    • 3.2.9.GA, 3.3.0.Beta1
    • None
    • None

      Remoting testsuite has hard-coded IPv6 addresses making it less portable and this is not cool because we are using the testsuite for platform certification. Not all machines have properly configured (or support) IPv6 stack. In either way, the TS should be able to test both stacks.

      I suggest to use common alias "localhost" and only control via -DpreferXY to select IPv4 or 6 stack. AFAIR the systems have alias localhost for both addresses. Let me know if there is an issue with this approach (will attach commit/ pull request).

      [rhusar@rhusar jboss-remoting]$ cat /etc/hosts
      127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
      ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
      

            dlloyd@redhat.com David Lloyd
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: