Author: ron.sigal(a)jboss.com
Date: 2008-03-14 22:52:06 -0400 (Fri, 14 Mar 2008)
New Revision: 3645
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/jndi/startup/JNDIDetectorServer.java
Log:
JBREM-930: Uses value of System property "jrunit.bind_addr" instead of
"localhost".
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/jndi/startup/JNDIDetectorServer.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/jndi/startup/JNDIDetectorServer.java 2008-03-15
02:44:40 UTC (rev 3644)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/jndi/startup/JNDIDetectorServer.java 2008-03-15
02:52:06 UTC (rev 3645)
@@ -77,7 +77,8 @@
port = TestUtil.getRandomPort();
System.out.println("port = " + port);
- InvokerLocator locator = new InvokerLocator("socket://localhost:" +
port);
+ String bindAddr = System.getProperty("jrunit.bind_addr", host);
+ InvokerLocator locator = new InvokerLocator("socket://" + bindAddr +
":" + port);
System.out.println("Starting remoting server with locator uri of: " +
locator.getLocatorURI());
connector = new Connector();