Uploaded image for project: 'JBoss Naming'
  1. JBoss Naming
  2. JBNAME-46

org.jboss.test.naming.test.SimpleUnitTestCase fails on Mac OS

XMLWordPrintable

      Test methods testHaPartitionName and testDiscoveryPort fail on Mac OS in the default situation where ant property "node0" is localhost. If you configure -Dnode0=<the_default_address> it passes.

      I suspect this is because org.jnp.interfaces.NamingContext.discoverServer() is not calling MulticastSocket.setInterface() when jnp.localAddress is set. I need to understand the exact cause of the failure though, as other multicast-based communication (e.g. all the tests in the tests-clustering target) work fine with node0=localhost.

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: