Skip to content

Commit 944a5c5

Browse files
expaniHarsh Kothari
authored andcommitted
Closing the directory reader to fix test (opensearch-project#17968)
Signed-off-by: expani <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
1 parent e8c45f9 commit 944a5c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/test/java/org/opensearch/search/aggregations/startree/RangeAggregatorTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void testRangeAggregation() throws IOException {
174174
}
175175
}
176176

177+
ir.close();
177178
reader.close();
178179
directory.close();
179180
}

0 commit comments

Comments
 (0)