[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/eviction ...
Manik Surtani
msurtani at jboss.com
Wed Nov 15 12:01:26 EST 2006
User: msurtani
Date: 06/11/15 12:01:25
Modified: tests/functional/org/jboss/cache/eviction
LRUPolicyTest.java ElementSizePolicyTest.java
Log:
Fixed eviction breakages
Revision Changes Path
1.18 +4 -1 JBossCache/tests/functional/org/jboss/cache/eviction/LRUPolicyTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LRUPolicyTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/LRUPolicyTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- LRUPolicyTest.java 15 Nov 2006 15:16:39 -0000 1.17
+++ LRUPolicyTest.java 15 Nov 2006 17:01:24 -0000 1.18
@@ -14,7 +14,7 @@
*
* @author Ben Wang, Feb 11, 2004
* @author Daniel Huang - dhuang at jboss.org
- * @version $Revision: 1.17 $
+ * @version $Revision: 1.18 $
*/
public class LRUPolicyTest extends TestCase
{
@@ -136,6 +136,9 @@
public void testNodeVisited()
{
String rootStr = "/org/jboss/test/data/";
+
+ System.out.println("REGIONS: " + cache_.getRegionManager().dumpRegions());
+
for (int i = 0; i < 10; i++)
{
String str = rootStr + i;
1.7 +3 -0 JBossCache/tests/functional/org/jboss/cache/eviction/ElementSizePolicyTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ElementSizePolicyTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/ElementSizePolicyTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- ElementSizePolicyTest.java 14 Nov 2006 14:17:10 -0000 1.6
+++ ElementSizePolicyTest.java 15 Nov 2006 17:01:25 -0000 1.7
@@ -129,6 +129,9 @@
_sleep(wakeupIntervalMillis + 500);
System.out.println(cache.toString(true));
+ System.out.println("*******");
+ System.out.println(cache.printLockInfo());
+
for (int i = 0; i < 20; i++)
{
String str = rootStr + Integer.toString(i);
More information about the jboss-cvs-commits
mailing list