[Jboss-cvs] JBossAS SVN: r55455 - branches/Branch_4_0/testsuite/src/main/org/jboss/test/testbeancluster/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 9 15:33:55 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-09 15:33:55 -0400 (Wed, 09 Aug 2006)
New Revision: 55455

Modified:
   branches/Branch_4_0/testsuite/src/main/org/jboss/test/testbeancluster/test/PooledHAUnitTestCase.java
Log:
Clear pool and stats before running test

Modified: branches/Branch_4_0/testsuite/src/main/org/jboss/test/testbeancluster/test/PooledHAUnitTestCase.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/testbeancluster/test/PooledHAUnitTestCase.java	2006-08-09 19:11:11 UTC (rev 55454)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/testbeancluster/test/PooledHAUnitTestCase.java	2006-08-09 19:33:55 UTC (rev 55455)
@@ -124,6 +124,8 @@
          (StatelessSessionHome) ctx.lookup("pooled_StatelessSession");
 
       // Simple connection count stress test
+      PooledInvokerProxy.clearStats();
+      PooledInvokerProxy.clearPools();
       for(int n = 0; n < 100; n ++)
       {
          StatelessSession tmp = homeHA.create();




More information about the jboss-cvs-commits mailing list