unset static field after test suite has been completed.

This commit is contained in:
Martijn van Groningen 2013-11-21 16:01:03 +01:00
parent 9e25c6a4db
commit 3f02392376
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ public class ChildrenConstantScoreQueryTests extends ElasticsearchLuceneTestCase
@AfterClass
public static void after() throws IOException {
SearchContext.removeCurrent();
contextIndexSearcher = null;
}
@Test