[jboss-cvs] JBossAS SVN: r100322 - trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 3 00:33:20 EST 2010


Author: bstansberry at jboss.com
Date: 2010-02-03 00:33:20 -0500 (Wed, 03 Feb 2010)
New Revision: 100322

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java
Log:
Make test more robust

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java	2010-02-03 05:26:24 UTC (rev 100321)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java	2010-02-03 05:33:20 UTC (rev 100322)
@@ -419,6 +419,8 @@
    {
       testee.start();
       
+      testee.clear();
+      
       int existing = testee.getSize();
       
       DistributableSessionMetadata md = new DistributableSessionMetadata();
@@ -719,6 +721,8 @@
       testee.setMaxUnreplicatedInterval(0);
       testee.start();
       
+      testee.clear();
+      
       int existing = testee.getSize();
       
       DistributableSessionMetadata md = new DistributableSessionMetadata();
@@ -758,6 +762,8 @@
       testee.setMaxUnreplicatedInterval(1);
       testee.start();
       
+      testee.clear();
+      
       int existing = testee.getSize();
       
       DistributableSessionMetadata md = new DistributableSessionMetadata();




More information about the jboss-cvs-commits mailing list