You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2014/04/29 07:16:17 UTC
svn commit: r1590872 [5/5] - in
/directory/mavibot/branches/with-txns/mavibot: img/
src/main/java/org/apache/directory/mavibot/btree/
src/test/java/org/apache/directory/mavibot/btree/
Modified: directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeTransactionTest.java
URL: http://svn.apache.org/viewvc/directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeTransactionTest.java?rev=1590872&r1=1590871&r2=1590872&view=diff
==============================================================================
--- directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeTransactionTest.java (original)
+++ directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/PersistedBTreeTransactionTest.java Tue Apr 29 05:16:16 2014
@@ -130,9 +130,9 @@ public class PersistedBTreeTransactionTe
for ( long i = 0L; i < 1000L; i++ )
{
System.out.println( i );
- btreeWithTransactions.beginTransaction();
+ //btreeWithTransactions.beginTransaction();
btreeWithTransactions.insert( i, Long.toString( i ) );
- btreeWithTransactions.commit();
+ //btreeWithTransactions.commit();
}
long t1 = System.currentTimeMillis();
Modified: directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/RecordManagerFreePageTest.java
URL: http://svn.apache.org/viewvc/directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/RecordManagerFreePageTest.java?rev=1590872&r1=1590871&r2=1590872&view=diff
==============================================================================
--- directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/RecordManagerFreePageTest.java (original)
+++ directory/mavibot/branches/with-txns/mavibot/src/test/java/org/apache/directory/mavibot/btree/RecordManagerFreePageTest.java Tue Apr 29 05:16:16 2014
@@ -29,6 +29,7 @@ import java.util.Set;
import org.apache.commons.io.FileUtils;
import org.apache.directory.mavibot.btree.exception.BTreeAlreadyManagedException;
+import org.apache.directory.mavibot.btree.exception.KeyNotFoundException;
import org.apache.directory.mavibot.btree.serializer.LongSerializer;
import org.apache.directory.mavibot.btree.serializer.StringSerializer;
import org.junit.After;
@@ -123,7 +124,7 @@ public class RecordManagerFreePageTest
* Test the creation of a RecordManager, and that we can read it back.
*/
@Test
- public void testRecordManager() throws IOException, BTreeAlreadyManagedException
+ public void testRecordManager() throws IOException, BTreeAlreadyManagedException, KeyNotFoundException
{
assertEquals( 1, recordManager1.getNbManagedTrees() );