[jboss-cvs] JBossAS SVN: r93137 - trunk/testsuite/src/main/org/jboss/test/cluster/web/persistent.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 2 14:15:31 EDT 2009


Author: remy.maucherat at jboss.com
Date: 2009-09-02 14:15:31 -0400 (Wed, 02 Sep 2009)
New Revision: 93137

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/web/persistent/PersistentSessionTestUtil.java
Log:
- Set container name before adding it (item 2).

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/web/persistent/PersistentSessionTestUtil.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/web/persistent/PersistentSessionTestUtil.java	2009-09-02 17:34:01 UTC (rev 93136)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/web/persistent/PersistentSessionTestUtil.java	2009-09-02 18:15:31 UTC (rev 93137)
@@ -84,8 +84,8 @@
       MockEngine engine = new MockEngine();
       engine.setJvmRoute(jvmRoute);
       MockHost host = new MockHost();
+      host.setName("localhost");
       engine.addChild(host);
-      host.setName("localhost");
       StandardContext container = new StandardContext();
       container.setName(warName);
       host.addChild(container);




More information about the jboss-cvs-commits mailing list