Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1500

[QA](7.1.z) org.jboss.remoting3.test.OutboundMessageCountTestCase#org.jboss.remoting3.test.OutboundMessageCountTestCase fails on ipv4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 7.0.0.DR11
    • Remoting, Test Suite

    Description

      There is an error that cause failing of test on ipv4 only machines

      testOutboundMessageSend(org.jboss.remoting3.test.OutboundMessageCountTestCase)  Time elapsed: 0.066 sec  <<< ERROR!
      java.net.URISyntaxException: Malformed IPv6 address at index 10: remote://[localhost]:30123
              at java.net.URI$Parser.fail(URI.java:2829)
              at java.net.URI$Parser.parseIPv6Reference(URI.java:3450)
              at java.net.URI$Parser.parseServer(URI.java:3200)
              at java.net.URI$Parser.parseAuthority(URI.java:3136)
              at java.net.URI$Parser.parseHierarchical(URI.java:3078)
              at java.net.URI$Parser.parse(URI.java:3034)
              at java.net.URI.<init>(URI.java:595)
              at org.jboss.remoting3.test.OutboundMessageCountTestCase.beforeTest(OutboundMessageCountTestCase.java:116)
      
      

      error is caused by binding socket to ::1 address

       99:streamServer = networkServerProvider.createServer(new InetSocketAddress("::1", 30123), OptionMap.create(Options.SASL_MECHANISMS, Sequence.of("CRAM-MD5")), provider, null);
      
      116:IoFuture<Connection> futureConnection = endpoint.connect(new URI("remote://[::1]:30123"), OptionMap.EMPTY, "bob", "test", "pass".toCharArray());
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified