[jboss-cvs] JBossAS SVN: r96876 - in branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite: src/main/org/jboss/test/binding and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 24 11:36:42 EST 2009
Author: rachmatowicz at jboss.com
Date: 2009-11-24 11:36:42 -0500 (Tue, 24 Nov 2009)
New Revision: 96876
Modified:
branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/build.xml
branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/binding/BindingServiceUnitTestCase.java
Log:
Adjust jbosstest.server.host to enable static assignment in URLs
Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/build.xml
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/build.xml 2009-11-24 16:36:16 UTC (rev 96875)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/build.xml 2009-11-24 16:36:42 UTC (rev 96876)
@@ -1178,6 +1178,7 @@
<sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
<sysproperty key="java.naming.provider.url" value="${node0.jndi.url}"/>
<sysproperty key="jbosstest.server.host" value="${node0}"/>
+ <sysproperty key="jbosstest.server.host.url" value="${node0.url}"/>
<!-- Pass along any jbosstest.* system properties -->
<syspropertyset>
<propertyref prefix="jbosstest."/>
Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/binding/BindingServiceUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/binding/BindingServiceUnitTestCase.java 2009-11-24 16:36:16 UTC (rev 96875)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/binding/BindingServiceUnitTestCase.java 2009-11-24 16:36:42 UTC (rev 96876)
@@ -48,8 +48,8 @@
public class BindingServiceUnitTestCase
extends JBossTestCase
{
- static final String SERVER0_JNDI_URL = "jnp://" + getServerHostForURL() + ":1199";
- static final String SERVER1_JNDI_URL = "jnp://" + getServerHostForURL() + ":1299";
+ static final String SERVER0_JNDI_URL = "jnp://" + System.getProperty("jbosstest.server.host.url", "localhost") + ":1199";
+ static final String SERVER1_JNDI_URL = "jnp://" + System.getProperty("jbosstest.server.host.url", "localhost") + ":1299";
static HashSet VALID_STATES = new HashSet();
static
More information about the jboss-cvs-commits
mailing list