[hornetq-commits] JBoss hornetq SVN: r9741 - branches/Branch_New_Paging/tests/src/org/hornetq/tests/integration/paging.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Sep 30 19:11:44 EDT 2010


Author: clebert.suconic at 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());



More information about the hornetq-commits mailing list