diff --git a/test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java b/test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java index b9d9ff3cfc9bb..c1ebb1213495b 100644 --- a/test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java +++ b/test/framework/src/main/java/org/elasticsearch/search/MockSearchService.java @@ -74,8 +74,8 @@ public MockSearchService(ClusterService clusterService, @Override protected void putContext(SearchContext context) { - super.putContext(context); addActiveContext(context); + super.putContext(context); } @Override