Skip to content

Commit 3638c13

Browse files
authored
Closing the directory reader to fix test (#17968)
Signed-off-by: expani <[email protected]>
1 parent 8dbf800 commit 3638c13

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)