From 269a6dfb400f662e4a63ed94a56bbc3a73590dcc Mon Sep 17 00:00:00 2001 From: javanna Date: Thu, 21 Aug 2014 11:14:33 +0200 Subject: [PATCH] [TEST] bw comp testMultiGet should wait for yellow, not for green --- .../elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java b/src/test/java/org/elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java index 323e6b713e5..fe87618dfe0 100644 --- a/src/test/java/org/elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java +++ b/src/test/java/org/elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java @@ -757,7 +757,7 @@ public class BasicBackwardsCompatibilityTest extends ElasticsearchBackwardsCompa @Test public void testMultiGet() throws ExecutionException, InterruptedException { assertAcked(prepareCreate("test").addAlias(new Alias("alias"))); - ensureGreen("test"); + ensureYellow("test"); int numDocs = iterations(10, 50); IndexRequestBuilder[] indexRequestBuilders = new IndexRequestBuilder[numDocs];