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 2020/12/25 00:55:05 UTC

[directory-server] branch master updated: Closing the record manager when exiting the tests

This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 98b45e7  Closing the record manager when exiting the tests
98b45e7 is described below

commit 98b45e74522b9a59188b38c073404034a391d2dd
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Fri Dec 25 01:54:58 2020 +0100

    Closing the record manager when exiting the tests
---
 .../core/partition/impl/btree/mavibot/MavibotMasterTableTest.java       | 2 ++
 .../server/core/partition/impl/btree/mavibot/MavibotStoreTest.java      | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotMasterTableTest.java b/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotMasterTableTest.java
index 15d12d1..13fed6e 100644
--- a/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotMasterTableTest.java
+++ b/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotMasterTableTest.java
@@ -123,6 +123,8 @@ public class MavibotMasterTableTest
         }
 
         table.close( partitionTxn );
+        
+        recordMan.close();
     }
 
 
diff --git a/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotStoreTest.java b/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotStoreTest.java
index b3b2c3c..86b5bdc 100644
--- a/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotStoreTest.java
+++ b/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotStoreTest.java
@@ -212,7 +212,7 @@ public class MavibotStoreTest
         if ( store != null )
         {
             // make sure all files are closed so that they can be deleted on Windows.
-            //store.destroy();
+            store.destroy( partitionTxn );
         }
 
         store = null;