diff --git a/core/src/test/java/org/elasticsearch/index/query/BaseQueryTestCase.java b/core/src/test/java/org/elasticsearch/index/query/BaseQueryTestCase.java index 1d4753e20e7..c741f4ae384 100644 --- a/core/src/test/java/org/elasticsearch/index/query/BaseQueryTestCase.java +++ b/core/src/test/java/org/elasticsearch/index/query/BaseQueryTestCase.java @@ -150,6 +150,7 @@ public abstract class BaseQueryTestCase> extends Ela index = null; queryParserService = null; currentTypes = null; + namedWriteableRegistry = null; } @Before