unset static field after test suite has been completed.
This commit is contained in:
parent
9e25c6a4db
commit
3f02392376
|
@ -102,6 +102,7 @@ public class ChildrenConstantScoreQueryTests extends ElasticsearchLuceneTestCase
|
||||||
@AfterClass
|
@AfterClass
|
||||||
public static void after() throws IOException {
|
public static void after() throws IOException {
|
||||||
SearchContext.removeCurrent();
|
SearchContext.removeCurrent();
|
||||||
|
contextIndexSearcher = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue