add more ensureGreen to aggs tests
This commit is contained in:
parent
04675f85cf
commit
d2bd476e70
|
@ -82,6 +82,7 @@ public class FilterTests extends ElasticsearchIntegrationTest {
|
||||||
.endObject()));
|
.endObject()));
|
||||||
}
|
}
|
||||||
indexRandom(true, builders.toArray(new IndexRequestBuilder[builders.size()]));
|
indexRandom(true, builders.toArray(new IndexRequestBuilder[builders.size()]));
|
||||||
|
ensureGreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -61,6 +61,7 @@ public class ValueCountTests extends ElasticsearchIntegrationTest {
|
||||||
}
|
}
|
||||||
client().admin().indices().prepareFlush().execute().actionGet();
|
client().admin().indices().prepareFlush().execute().actionGet();
|
||||||
client().admin().indices().prepareRefresh().execute().actionGet();
|
client().admin().indices().prepareRefresh().execute().actionGet();
|
||||||
|
ensureGreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue