[jboss-cvs] JBossAS SVN: r108439 - branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/cluster/defaultcfg/web/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 4 14:52:27 EDT 2010


Author: bstansberry at jboss.com
Date: 2010-10-04 14:52:27 -0400 (Mon, 04 Oct 2010)
New Revision: 108439

Modified:
   branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/cluster/defaultcfg/web/test/PersistentManagerFormAuthTestCase.java
Log:
[JBAS-5171] Fix test when node0 isn't localhost

Modified: branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/cluster/defaultcfg/web/test/PersistentManagerFormAuthTestCase.java
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/cluster/defaultcfg/web/test/PersistentManagerFormAuthTestCase.java	2010-10-04 18:40:13 UTC (rev 108438)
+++ branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/cluster/defaultcfg/web/test/PersistentManagerFormAuthTestCase.java	2010-10-04 18:52:27 UTC (rev 108439)
@@ -55,7 +55,7 @@
    protected void setUp() throws Exception
    {
       super.setUp();
-      baseURLNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080); 
+      baseURLNoAuth = getHttpURLs()[0]; 
    }
    
    protected String getContextPath()



More information about the jboss-cvs-commits mailing list