[jboss-cvs] JBossAS SVN: r108667 - branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/testutil.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 19 13:48:41 EDT 2010


Author: pferraro
Date: 2010-10-19 13:48:41 -0400 (Tue, 19 Oct 2010)
New Revision: 108667

Modified:
   branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java
Log:
Need to set name of mock engine

Modified: branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java
===================================================================
--- branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java	2010-10-19 17:38:35 UTC (rev 108666)
+++ branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/testutil/SessionTestUtil.java	2010-10-19 17:48:41 UTC (rev 108667)
@@ -257,6 +257,7 @@
    public static void setupContainer(String warName, String jvmRoute, Manager mgr)
    {
       MockEngine engine = new MockEngine();
+      engine.setName("jboss.web");
       engine.setJvmRoute(jvmRoute);
       MockHost host = new MockHost();
       host.setName("localhost");
@@ -660,6 +661,7 @@
       }
       catch (InterruptedException ie)
       {
+         Thread.currentThread().interrupt();
       }
    }
    



More information about the jboss-cvs-commits mailing list