directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1678689 - /directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java
Date Mon, 11 May 2015 08:12:13 GMT
Author: kayyagari
Date: Mon May 11 08:12:13 2015
New Revision: 1678689

URL: http://svn.apache.org/r1678689
Log:
debug statements

Modified:
    directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java

Modified: directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java?rev=1678689&r1=1678688&r2=1678689&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java
(original)
+++ directory/mavibot/trunk/mavibot/src/test/java/org/apache/directory/mavibot/btree/SpaceReclaimerTest.java
Mon May 11 08:12:13 2015
@@ -58,6 +58,7 @@ public class SpaceReclaimerTest
         
         dbFile = tmpDir.newFile( "spacereclaimer.db" );
 
+        System.out.println(dbFile.getAbsolutePath());
         rm = new RecordManager( dbFile.getAbsolutePath() );
         rm.setSpaceReclaimerThreshold( 10 );
         
@@ -91,12 +92,12 @@ public class SpaceReclaimerTest
         for ( int i=0; i < total; i++ )
         {
             uidTree.insert( i, String.valueOf( i ) );
-            System.out.println( dbFile.length() );
         }
-    
+
+        System.out.println( "Total size before closing " + dbFile.length() );
         closeAndReopenRM();
         
-        System.out.println( dbFile.length() );
+        System.out.println( "Total size AFTER closing " + dbFile.length() );
         
         int count = 0;
         TupleCursor<Integer, String> cursor = uidTree.browse();



Mime
View raw message