[jboss-jira] [JBoss JIRA] (JBREM-1310) Remoting testsuite has hard-coded IPv6 addresses making it less portable

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Mon Jun 11 10:15:05 EDT 2012


Radoslav Husar created JBREM-1310:
-------------------------------------

             Summary: Remoting testsuite has hard-coded IPv6 addresses making it less portable
                 Key: JBREM-1310
                 URL: https://issues.jboss.org/browse/JBREM-1310
             Project: JBoss Remoting
          Issue Type: Quality Risk
      Security Level: Public (Everyone can see)
          Components: general
            Reporter: Radoslav Husar


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).

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list