wait for green in tests for now

This commit is contained in:
Simon Willnauer 2013-11-30 19:41:49 +01:00
parent 88d829ad78
commit 5d2c334bbd
2 changed files with 2 additions and 1 deletions

View File

@ -86,6 +86,7 @@ public class MissingTests extends ElasticsearchIntegrationTest {
} }
indexRandom(true, builders.toArray(new IndexRequestBuilder[builders.size()])); indexRandom(true, builders.toArray(new IndexRequestBuilder[builders.size()]));
ensureGreen(); // wait until we are ready to serve requests
} }

View File

@ -72,7 +72,7 @@ public abstract class AbstractNumericTests extends ElasticsearchIntegrationTest
.endObject())); .endObject()));
} }
indexRandom(true, builders); indexRandom(true, builders);
ensureGreen(); // wait until we are ready to serve requests
} }
public abstract void testEmptyAggregation() throws Exception; public abstract void testEmptyAggregation() throws Exception;