Author: ron.sigal(a)jboss.com
Date: 2008-03-14 16:39:08 -0400 (Fri, 14 Mar 2008)
New Revision: 3641
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/raw/HTTPInvokerTestClient.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/transport/http/raw/HTTPInvokerTestClient.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/raw/HTTPInvokerTestClient.java 2008-03-14
20:32:29 UTC (rev 3640)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/raw/HTTPInvokerTestClient.java 2008-03-14
20:39:08 UTC (rev 3641)
@@ -113,7 +113,9 @@
public String getLocatorURI()
{
- String locatorURI = transport + "://" + host + ":" + port;
+ String bindAddr = System.getProperty("jrunit.bind_addr", host);
+ String locatorURI = transport + "://" + bindAddr + ":" + port;
+
String metadata = System.getProperty(PerformanceTestCase.REMOTING_METADATA);
if(metadata != null && metadata.length() > 0)
{