[jboss-cvs] JBossAS SVN: r96864 - in branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test: cache/bean and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 24 10:13:01 EST 2009
Author: rachmatowicz at jboss.com
Date: 2009-11-24 10:13:00 -0500 (Tue, 24 Nov 2009)
New Revision: 96864
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/cache/bean/MBeanUnitTestCase.java
Log:
Fix additional URLs in test cases.
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 15:09:53 UTC (rev 96863)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/binding/BindingServiceUnitTestCase.java 2009-11-24 15:13:00 UTC (rev 96864)
@@ -48,8 +48,8 @@
public class BindingServiceUnitTestCase
extends JBossTestCase
{
- static final String SERVER0_JNDI_URL = "jnp://" + System.getProperty("jbosstest.server.host", "localhost") + ":1199";
- static final String SERVER1_JNDI_URL = "jnp://" + System.getProperty("jbosstest.server.host", "localhost") + ":1299";
+ static final String SERVER0_JNDI_URL = "jnp://" + getServerHostForURL() + ":1199";
+ static final String SERVER1_JNDI_URL = "jnp://" + getServerHostForURL() + ":1299";
static HashSet VALID_STATES = new HashSet();
static
Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/cache/bean/MBeanUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/cache/bean/MBeanUnitTestCase.java 2009-11-24 15:09:53 UTC (rev 96863)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/cache/bean/MBeanUnitTestCase.java 2009-11-24 15:13:00 UTC (rev 96864)
@@ -68,7 +68,7 @@
p_.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
p_.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces");
- p_.put(Context.PROVIDER_URL, getServerHost() + ":1099");
+ p_.put(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099");
obj = new InitialContext(p_).lookup(TreeCacheMBeanTesterHome.JNDI_NAME);
cache_home = (TreeCacheMBeanTesterHome) PortableRemoteObject.narrow(obj, TreeCacheMBeanTesterHome.class);
}
More information about the jboss-cvs-commits
mailing list