Author: clebert.suconic(a)jboss.com
Date: 2010-09-30 19:11:44 -0400 (Thu, 30 Sep 2010)
New Revision: 9741
Modified:
branches/Branch_New_Paging/tests/src/org/hornetq/tests/integration/paging/PageCacheTest.java
Log:
tweaks on test
Modified:
branches/Branch_New_Paging/tests/src/org/hornetq/tests/integration/paging/PageCacheTest.java
===================================================================
---
branches/Branch_New_Paging/tests/src/org/hornetq/tests/integration/paging/PageCacheTest.java 2010-09-30
22:56:46 UTC (rev 9740)
+++
branches/Branch_New_Paging/tests/src/org/hornetq/tests/integration/paging/PageCacheTest.java 2010-09-30
23:11:44 UTC (rev 9741)
@@ -65,7 +65,7 @@
StorageManager storageManager = server.getStorageManager();
- final int NUM_MESSAGES = 300;
+ final int NUM_MESSAGES = 1000;
pageStore.startPaging();
@@ -93,6 +93,8 @@
}
+ forceGC();
+
assertTrue(cursorProvider.getCacheSize() < numberOfPages);
System.out.println("Cache size = " + cursorProvider.getCacheSize());
Show replies by date