From 2f835621aeb69f108a0beeb7be780760c40e3bb8 Mon Sep 17 00:00:00 2001 From: uboness Date: Mon, 2 Dec 2013 11:42:35 +0100 Subject: [PATCH] added more wait for green status on aggs tests --- .../search/aggregations/bucket/DateHistogramTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramTests.java b/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramTests.java index a6e7fe697d5..dac3ffdf083 100644 --- a/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramTests.java +++ b/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramTests.java @@ -807,7 +807,7 @@ public class DateHistogramTests extends ElasticsearchIntegrationTest { @Test public void unmapped() throws Exception { - client().admin().cluster().prepareHealth("idx_unmapped").setWaitForYellowStatus().execute().actionGet(); + client().admin().cluster().prepareHealth("idx_unmapped").setWaitForGreenStatus().execute().actionGet(); SearchResponse response = client().prepareSearch("idx_unmapped") .addAggregation(dateHistogram("histo").field("date").interval(DateHistogram.Interval.MONTH))