Skip to content

Commit 3f02392

Browse files
committed
unset static field after test suite has been completed.
1 parent 9e25c6a commit 3f02392

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/elasticsearch/index/search/child/ChildrenConstantScoreQueryTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public static void before() throws IOException {
102102
@AfterClass
103103
public static void after() throws IOException {
104104
SearchContext.removeCurrent();
105+
contextIndexSearcher = null;
105106
}
106107

107108
@Test

0 commit comments

Comments
 (0)