[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/buddyreplication ...
Manik Surtani
msurtani at jboss.com
Thu Dec 21 13:16:17 EST 2006
User: msurtani
Date: 06/12/21 13:16:17
Modified: tests/functional/org/jboss/cache/buddyreplication Tag:
Branch_JBossCache_1_4_0 BuddyPoolBroadcastTest.java
Log:
improved robustness
Revision Changes Path
No revision
No revision
1.12.2.2 +2 -2 JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyPoolBroadcastTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyPoolBroadcastTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/buddyreplication/BuddyPoolBroadcastTest.java,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -b -r1.12.2.1 -r1.12.2.2
--- BuddyPoolBroadcastTest.java 11 Dec 2006 10:50:03 -0000 1.12.2.1
+++ BuddyPoolBroadcastTest.java 21 Dec 2006 18:16:17 -0000 1.12.2.2
@@ -135,7 +135,7 @@
public void testConcurrency() throws Exception
{
- int numCaches = 5;
+ int numCaches = 15;
TreeCache[] caches = new TreeCache[numCaches];
try
{
@@ -155,7 +155,7 @@
// allow a generous sleep time
TestingUtil.blockUntilViewsReceived(caches, 180000);
- TestingUtil.sleepThread(15000);
+ TestingUtil.sleepThread(1000 * numCaches);
// and now look at the state of things.
Map map = caches[0].getBuddyManager().buddyPool;
More information about the jboss-cvs-commits
mailing list