[TEST] bw comp testMultiGet should wait for yellow, not for green

This commit is contained in:
javanna 2014-08-21 11:14:33 +02:00 committed by Luca Cavanna
parent 5709a11d23
commit 269a6dfb40
1 changed files with 1 additions and 1 deletions

View File

@ -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];