[jboss-cvs] JBossAS SVN: r94887 - branches/Branch_5_x/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 15:05:20 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-14 15:05:20 -0400 (Wed, 14 Oct 2009)
New Revision: 94887
Modified:
branches/Branch_5_x/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: branches/Branch_5_x/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java 2009-10-14 17:42:23 UTC (rev 94886)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/cluster/defaultcfg/simpleweb/test/DriverManagerPersistentStoreUnitTestCase.java 2009-10-14 19:05:20 UTC (rev 94887)
@@ -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