[jboss-cvs] JBossAS SVN: r94904 - 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 Oct 14 20:47:01 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-14 20:47:00 -0400 (Wed, 14 Oct 2009)
New Revision: 94904
Modified:
trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java
Log:
Make test more robust (see https://jira.jboss.org/jira/browse/JBPAPP-2594)
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 2009-10-15 00:13:27 UTC (rev 94903)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java 2009-10-15 00:47:00 UTC (rev 94904)
@@ -78,6 +78,7 @@
{
if (testee != null && testee.isStarted())
{
+ testee.clear();
testee.stop();
}
}
@@ -739,7 +740,7 @@
assertEquals(Integer.valueOf(0), testee.getSessionVersion(id));
- sleep(2001);
+ sleep(2010);
testee.processExpires();
@@ -778,7 +779,7 @@
assertEquals(Integer.valueOf(0), testee.getSessionVersion(id));
- sleep(2001);
+ sleep(2010);
testee.processExpires();
@@ -786,7 +787,7 @@
assertEquals(existing +1 , testee.getSize());
- sleep(1001);
+ sleep(1010);
testee.processExpires();
More information about the jboss-cvs-commits
mailing list