[jboss-cvs] JBossAS SVN: r96587 - in branches/JBPAPP_4_2_0_GA_CP_IPV6: testsuite/src/main/org/jboss/test/jbossmq/test and 4 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 19 11:35:17 EST 2009


Author: rachmatowicz at jboss.com
Date: 2009-11-19 11:35:17 -0500 (Thu, 19 Nov 2009)
New Revision: 96587

Modified:
   branches/JBPAPP_4_2_0_GA_CP_IPV6/test/src/main/org/jboss/test/JBossTestClusteredServices.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/jbossmq/test/HTTPConnectionUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/NamingRestartUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/PooledInvokerUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SimpleUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/security/test/CustomPrincipalPropagationUnitTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/security/CustomHeaderAuthTestCase.java
   branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/test/SingleSignOnUnitTestCase.java
Log:
Fix to JBossTestClusteredServices URL generation and fixes to URLs in a number of test cases.


Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/test/src/main/org/jboss/test/JBossTestClusteredServices.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/test/src/main/org/jboss/test/JBossTestClusteredServices.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/test/src/main/org/jboss/test/JBossTestClusteredServices.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -266,9 +266,17 @@
                break;
             log.info(prop + " = " + host);
             servers.add(host);
+            
+            // get the hostname to use in URLs
+            String hostForURLProp = prop + ".url" ;
+            String hostForURL = System.getProperty(hostForURLProp);
+            if (hostForURL == null)
+            	break;
+            log.info(hostForURLProp + " = " + hostForURL);
+
             // See if there is a jbosstest.cluster.nodeN.jndi.url
             String urlProp = prop + ".jndi.url";
-            String urlDefault = "jnp://" + host + ":1099";
+            String urlDefault = "jnp://" + hostForURL + ":1099";
             String urlValue = System.getProperty(urlProp, urlDefault);
             log.debug("JNDI Url for node=" + count + " is:" + urlValue);
             namingURLs.add(urlValue);
@@ -280,14 +288,14 @@
 
             // See if there is a jbosstest.cluster.nodeN.hajndi.url
             urlProp = prop + ".hajndi.url";
-            urlDefault = "jnp://" + host + ":1100";
+            urlDefault = "jnp://" + hostForURL + ":1100";
             urlValue = System.getProperty(urlProp, urlDefault);
             log.debug("HA-JNDI Url for node=" + count + " is:" + urlValue);
             namingURLsHA.add(urlValue);
             
             // See if there is a jbosstest.cluster.nodeN.http.url
             urlProp = prop + ".http.url";
-            urlDefault = "http://" + host + ":8080";
+            urlDefault = "http://" + hostForURL + ":8080";
             urlValue = System.getProperty(urlProp, urlDefault);
             log.debug("Http Url for node=" + count + " is:" + urlValue);
             httpURLs.add(urlValue);

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/jbossmq/test/HTTPConnectionUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/jbossmq/test/HTTPConnectionUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/jbossmq/test/HTTPConnectionUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -101,7 +101,7 @@
       Properties props = new Properties();
       props.setProperty(HTTPServerILFactory.SERVER_IL_FACTORY_KEY, HTTPServerILFactory.SERVER_IL_FACTORY);
       props.setProperty(HTTPServerILFactory.CLIENT_IL_SERVICE_KEY, HTTPServerILFactory.CLIENT_IL_SERVICE);
-      props.setProperty(HTTPServerILFactory.SERVER_URL_KEY, "http://" + getServerHost() + ":8080/jbossmq-httpil/HTTPServerILServlet");
+      props.setProperty(HTTPServerILFactory.SERVER_URL_KEY, "http://" + getServerHostForURL() + ":8080/jbossmq-httpil/HTTPServerILServlet");
       props.setProperty(HTTPServerILFactory.PING_PERIOD_KEY, "0");
       props.setProperty(HTTPServerILFactory.TIMEOUT_KEY, "60");
       props.setProperty(HTTPServerILFactory.REST_INTERVAL_KEY, "1");
@@ -129,7 +129,7 @@
       Properties props = new Properties();
       props.setProperty(HTTPServerILFactory.SERVER_IL_FACTORY_KEY, HTTPServerILFactory.SERVER_IL_FACTORY);
       props.setProperty(HTTPServerILFactory.CLIENT_IL_SERVICE_KEY, HTTPServerILFactory.CLIENT_IL_SERVICE);
-      props.setProperty(HTTPServerILFactory.SERVER_URL_KEY, "http://" + getServerHost() + ":8080/jbossmq-httpil/restricted/HTTPServerILServlet");
+      props.setProperty(HTTPServerILFactory.SERVER_URL_KEY, "http://" + getServerHostForURL() + ":8080/jbossmq-httpil/restricted/HTTPServerILServlet");
       props.setProperty(HTTPServerILFactory.PING_PERIOD_KEY, "0");
       props.setProperty(HTTPServerILFactory.TIMEOUT_KEY, "60");
       props.setProperty(HTTPServerILFactory.REST_INTERVAL_KEY, "1");

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/NamingRestartUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/NamingRestartUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/NamingRestartUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -444,7 +444,7 @@
 
    private Properties createNamingEnvironment(String port)
    {
-      String namingURL = getServerHost() + ":" + port;
+      String namingURL = getServerHostForURL() + ":" + port;
       Properties env = new Properties();
       env.setProperty(Context.PROVIDER_URL, namingURL);
       env.setProperty(NamingContext.JNP_DISABLE_DISCOVERY, "true");

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/PooledInvokerUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/PooledInvokerUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/PooledInvokerUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -60,7 +60,7 @@
       getLog().debug("+++ testCreateSubcontext");
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":10999/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":10999/");
       env.setProperty("jnp.disableDiscovery", "true");
       InitialContext ctx = new InitialContext(env);
       ctx.createSubcontext("foo");
@@ -87,7 +87,7 @@
       getLog().debug("+++ testLookup");
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":10999/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":10999/");
       env.setProperty("jnp.disableDiscovery", "true");
       InitialContext ctx = new InitialContext(env);
       Object obj = ctx.lookup("");
@@ -123,7 +123,7 @@
       getLog().info("+++ testSharedLookup");
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":10999/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":10999/");
       env.setProperty("jnp.disableDiscovery", "true");
       InitialContext ctx = new InitialContext(env);
       Object obj = ctx.lookup("jmx/rmi/RMIAdaptor");
@@ -141,7 +141,7 @@
       // Look a name that does not exist
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":10999/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":10999/");
       env.setProperty("jnp.disableDiscovery", "true");
       InitialContext ctx = new InitialContext(env);
       try
@@ -156,7 +156,7 @@
 
       // Do a lookup on an server port that does not exist
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":65535/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":65535/");
       env.setProperty("jnp.disableDiscovery", "true");
       log.debug("Creating InitialContext with env="+env);
       try

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SecurityUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -86,7 +86,7 @@
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
 
       // Test the secured JNDI factory
-      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHost() + ":8080/invoker/restricted/JNDIFactory");
+      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHostForURL() + ":8080/invoker/restricted/JNDIFactory");
       getLog().debug("Creating InitialContext with env="+env);
 
       // Try without a login to ensure the lookup fails
@@ -123,7 +123,7 @@
       lc.login();
 
       // Test the secured JNDI factory
-      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHost() + ":8080/invoker/restricted/JNDIFactory");
+      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHostForURL() + ":8080/invoker/restricted/JNDIFactory");
       getLog().debug("Creating InitialContext with env="+env);
       InitialContext ctx = new InitialContext(env);
       getLog().debug("Created InitialContext");
@@ -173,7 +173,7 @@
 
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHost() + ":8080/invoker/ReadOnlyJNDIFactory");
+      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHostForURL() + ":8080/invoker/ReadOnlyJNDIFactory");
       getLog().debug("Creating InitialContext with env="+env);
       InitialContext ctx = new InitialContext(env);
       Object data = ctx.lookup("readonly/data");
@@ -229,7 +229,7 @@
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY,
          "org.jboss.test.naming.test.BootstrapNamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1099");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099");
       env.setProperty("bootstrap-binding", "naming/Naming");
       getLog().debug("Creating bootstrap InitialContext with env="+env);
       InitialContext bootCtx = new InitialContext(env);
@@ -307,7 +307,7 @@
       Properties env = new Properties();
       // Try with a login that should succeed
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.LoginInitialContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1099/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099/");
       env.setProperty(Context.SECURITY_CREDENTIALS, "theduke");
       env.setProperty(Context.SECURITY_PRINCIPAL, "jduke");
       env.setProperty(Context.SECURITY_PROTOCOL, "testLoginInitialContext");
@@ -354,7 +354,7 @@
       Properties env = new Properties();
       // Try with a login that should succeed
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.LoginInitialContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1099/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099/");
       env.setProperty(Context.SECURITY_CREDENTIALS, "theduke");
       env.setProperty(Context.SECURITY_PRINCIPAL, "jduke");
       env.setProperty(Context.SECURITY_PROTOCOL, "testLoginInitialContext");
@@ -396,7 +396,7 @@
       Properties env = new Properties();
       // Try with a login that should succeed
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1099/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099/");
       env.setProperty(Context.SECURITY_CREDENTIALS, "theduke");
       env.setProperty(Context.SECURITY_PRINCIPAL, "jduke");
 
@@ -433,7 +433,7 @@
       Properties env = new Properties();
       // Try with a login that should succeed
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1099/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1099/");
       env.setProperty(Context.SECURITY_CREDENTIALS, "theduke");
       env.setProperty(Context.SECURITY_PRINCIPAL, "jduke");
 

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SimpleUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SimpleUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/naming/test/SimpleUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -114,7 +114,7 @@
    {
       getLog().debug("+++ testLookup");
       InitialContext ctx = getInitialContext();
-      Name name = ctx.getNameParser("").parse("jnp://" + getServerHost() + "/jmx");
+      Name name = ctx.getNameParser("").parse("jnp://" + getServerHostForURL() + "/jmx");
       Name copy = (Name) name.clone();
       Object obj = ctx.lookup(name);
       getLog().debug("lookup("+name+") = "+obj);
@@ -143,7 +143,7 @@
 
       // Do a lookup on an server port that does not exist
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":65535/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":65535/");
       env.setProperty("jnp.disableDiscovery", "true");
       getLog().debug("Creating InitialContext with env="+env);
       try
@@ -162,7 +162,7 @@
    {
       getLog().debug("+++ testHaInvoker");
       Properties env = new Properties();
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1100/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1100/");
       getLog().debug("Creating InitialContext with env="+env);
       InitialContext ctx = new InitialContext(env);
       getLog().debug("Created InitialContext");
@@ -189,7 +189,7 @@
       // Look a name that does not exist
       java.util.Properties env = new java.util.Properties();
       env.setProperty(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
-      env.setProperty(javax.naming.Context.PROVIDER_URL, "jnp://" + getServerHost() + ":1100/");
+      env.setProperty(javax.naming.Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":1100/");
       getLog().debug("Creating InitialContext with env="+env);
 
       InitialContext ctx = new javax.naming.InitialContext(env);
@@ -236,7 +236,7 @@
       getLog().debug("+++ testHjnp.localAddressaParitionName");
       Properties env = new Properties();
       String serverHost = getServerHost();
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + serverHost + ":65535/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":65535/");
       env.setProperty("jnp.localAddress", serverHost);      
       env.setProperty("jnp.partitionName", "DefaultPartition");
       // Don't let the discovery packet off the test server so we don't
@@ -263,7 +263,7 @@
       ctx.close();
 
       // Now test discovery with a non-existent parition name
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHost() + ":65535/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":65535/");
       env.setProperty("jnp.partitionName", "__NotTheDefaultPartition__");
       try
       {
@@ -287,7 +287,7 @@
       getLog().debug("+++ testDiscoveryPort");
       Properties env = new Properties();
       String serverHost = getServerHost();
-      env.setProperty(Context.PROVIDER_URL, "jnp://" + serverHost + ":65535/");
+      env.setProperty(Context.PROVIDER_URL, "jnp://" + getServerHostForURL() + ":65535/");
       env.setProperty("jnp.localAddress", serverHost);      
       env.setProperty("jnp.discoveryPort", "1102");
       // Don't let the discovery packet off the test server so we don't
@@ -319,7 +319,7 @@
       getLog().debug("+++ testHttpInvoker");
       Properties env = new Properties();
       env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
-      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHost() + ":8080/invoker/JNDIFactory");
+      env.setProperty(Context.PROVIDER_URL, "http://" + getServerHostForURL() + ":8080/invoker/JNDIFactory");
       getLog().debug("Creating InitialContext with env="+env);
       InitialContext ctx = new InitialContext(env);
       getLog().debug("Created InitialContext");

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/security/test/CustomPrincipalPropagationUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/security/test/CustomPrincipalPropagationUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/security/test/CustomPrincipalPropagationUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -97,7 +97,7 @@
     */
    public void testCustomPrincipalTransmissionInVM() throws Exception
    { 
-      String baseURLNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + "/";
+      String baseURLNoAuth = "http://" + getServerHostForURL() + ":" + Integer.getInteger("web.port", 8080) + "/";
       HttpClient httpConn = new HttpClient();
       GetMethod indexGet = new GetMethod(baseURLNoAuth + "custom-principal/");
       int responseCode = httpConn.executeMethod(indexGet);

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/security/CustomHeaderAuthTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/security/CustomHeaderAuthTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/security/CustomHeaderAuthTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -45,7 +45,7 @@
  */
 public class CustomHeaderAuthTestCase extends JBossTestCase
 { 
-   private String baseURLNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + "/"; 
+   private String baseURLNoAuth = "http://" + getServerHostForURL() + ":" + Integer.getInteger("web.port", 8080) + "/"; 
    private HttpClient httpConn = new HttpClient();
    
    private String path = "header-form-auth/restricted/SecuredServlet";

Modified: branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/test/SingleSignOnUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/test/SingleSignOnUnitTestCase.java	2009-11-19 16:32:13 UTC (rev 96586)
+++ branches/JBPAPP_4_2_0_GA_CP_IPV6/testsuite/src/main/org/jboss/test/web/test/SingleSignOnUnitTestCase.java	2009-11-19 16:35:17 UTC (rev 96587)
@@ -33,7 +33,7 @@
  */
 public class SingleSignOnUnitTestCase extends JBossTestCase
 {
-   private String baseURLNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080); 
+   private String baseURLNoAuth = "http://" + getServerHostForURL() + ":" + Integer.getInteger("web.port", 8080); 
 
    public SingleSignOnUnitTestCase(String name)
    {




More information about the jboss-cvs-commits mailing list