From 9227f3d22412f94d22f4cae6a4fb3a52ead9b011 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Sat, 13 Oct 2018 10:41:06 -0700 Subject: [PATCH] HDDS-653. TestMetadataStore#testIterator fails on Windows. Contributed by Yiqun Lin. --- .../test/java/org/apache/hadoop/utils/TestMetadataStore.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/TestMetadataStore.java b/hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/TestMetadataStore.java index 30fc7f313a..a91bc80188 100644 --- a/hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/TestMetadataStore.java +++ b/hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/TestMetadataStore.java @@ -163,6 +163,8 @@ public void testIterator() throws Exception { GenericTestUtils.assertExceptionContains("Store has no more elements", ex); } + dbStore.close(); + dbStore.destroy(); FileUtils.deleteDirectory(dbDir); }