You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2019/04/28 17:55:07 UTC
[directory-server] branch master updated: Close resource (fix tests
on Windows)
This is an automated email from the ASF dual-hosted git repository.
seelmann 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 5d604ec Close resource (fix tests on Windows)
5d604ec is described below
commit 5d604ecdf386c8b0defc9d0c4cee83e367a133c1
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Apr 28 19:54:54 2019 +0200
Close resource (fix tests on Windows)
---
.../directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java | 1 +
.../server/core/partition/impl/btree/jdbm/JdbmRdnIndexTest.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java b/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
index e9e8e6d..d1b7c1d 100644
--- a/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
+++ b/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndexTest.java
@@ -117,6 +117,7 @@ public class JdbmIndexTest
@After
public void teardown() throws Exception
{
+ recMan.close();
destroyIndex();
}
diff --git a/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndexTest.java b/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndexTest.java
index 4f1f63e..0811707 100644
--- a/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndexTest.java
+++ b/jdbm-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmRdnIndexTest.java
@@ -117,6 +117,7 @@ public class JdbmRdnIndexTest
@After
public void teardown() throws Exception
{
+ recMan.close();
destroyIndex();
}