From 82868e9cf2e88c888ac68c023d0f92712ceb0b53 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 25 Nov 2014 14:53:38 +0100 Subject: [PATCH] remove unnecessary clearScroll call - these contexts are released by delete index now --- .../search/scroll/SearchScrollWithFailingNodesTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java b/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java index 983a7385e0a..f59a3ef1a46 100644 --- a/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java +++ b/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java @@ -19,6 +19,7 @@ package org.elasticsearch.search.scroll; +import com.google.common.base.Predicate; import org.elasticsearch.action.index.IndexRequestBuilder; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.cluster.routing.allocation.decider.ShardsLimitAllocationDecider; @@ -108,7 +109,6 @@ public class SearchScrollWithFailingNodesTests extends ElasticsearchIntegrationT assertThat(searchResponse.getSuccessfulShards(), equalTo(numberOfSuccessfulShards)); } while (searchResponse.getHits().hits().length > 0); assertThat(numHits, greaterThan(0l)); - clearScroll("_all"); } }