org.jboss.test.naming.test.SimpleUnitTestCase fails on Mac OS
-------------------------------------------------------------
Key: JBAS-7695
URL:
https://jira.jboss.org/jira/browse/JBAS-7695
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Clustering, Naming
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: JBossAS-6.0.0.M3
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira