directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1811805 - /directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java
Date Wed, 11 Oct 2017 10:06:38 GMT
Author: elecharny
Date: Wed Oct 11 10:06:38 2017
New Revision: 1811805

URL: http://svn.apache.org/viewvc?rev=1811805&view=rev
Log:
Calling the Mavibot inspector in some tests

Modified:
    directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java

Modified: directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java
URL: http://svn.apache.org/viewvc/directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java?rev=1811805&r1=1811804&r2=1811805&view=diff
==============================================================================
--- directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java
(original)
+++ directory/mavibot/branches/single-value/mavibot/src/test/java/org/apache/directory/mavibot/btree/BTreeBrowseTest.java
Wed Oct 11 10:06:38 2017
@@ -683,6 +683,9 @@ public class BTreeBrowseTest
         long t1 = System.currentTimeMillis();
         
         System.out.println( "Delta for " + nbRound + " : " + ( t1 - t0 ) );
+        
+        MavibotInspector.check( recordManager );
+
         int counter = 0;
 
         try ( Transaction readTxn = recordManager.beginReadTransaction() )
@@ -1688,6 +1691,8 @@ public class BTreeBrowseTest
             }
         }
 
+        MavibotInspector.check( recordManager );
+
         try ( Transaction readTxn = recordManager.beginReadTransaction() )
         {
             BTree<Long, String> btree = readTxn.getBTree( "test" );



Mime
View raw message