[jboss-remoting-commits] JBoss Remoting SVN: r3641 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/raw.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri Mar 14 16:39:08 EDT 2008


Author: ron.sigal at 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)
       {




More information about the jboss-remoting-commits mailing list