From 44382ae629d490dd12d15c888850295105ca2913 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 9 Dec 2013 11:04:33 +0100 Subject: [PATCH] remove ensureGreen for debugging --- .../search/aggregations/metrics/AbstractNumericTests.java | 1 - .../search/aggregations/metrics/ValueCountTests.java | 1 - 2 files changed, 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTests.java b/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTests.java index 3c87aceec15..244ae66c5b0 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTests.java @@ -72,7 +72,6 @@ public abstract class AbstractNumericTests extends ElasticsearchIntegrationTest .endObject())); } indexRandom(true, builders); - ensureGreen(); // wait until we are ready to serve requests } public abstract void testEmptyAggregation() throws Exception; diff --git a/src/test/java/org/elasticsearch/search/aggregations/metrics/ValueCountTests.java b/src/test/java/org/elasticsearch/search/aggregations/metrics/ValueCountTests.java index c95e87dbefc..36f6aef44ea 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/metrics/ValueCountTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/metrics/ValueCountTests.java @@ -61,7 +61,6 @@ public class ValueCountTests extends ElasticsearchIntegrationTest { } client().admin().indices().prepareFlush().execute().actionGet(); client().admin().indices().prepareRefresh().execute().actionGet(); - ensureGreen(); } @Test