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
|
||||
public static void after() throws IOException {
|
||||
SearchContext.removeCurrent();
|
||||
contextIndexSearcher = null;
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue