remove the ensure green

The random index template can set a number of replicas that will prevent the index
from ever being green in a single node cluster...

Original commit: elastic/x-pack-elasticsearch@81ecfe0818
This commit is contained in:
jaymode 2015-10-26 16:22:08 -04:00
parent 6a46660d40
commit f4991d862a
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ public class MarvelClusterInfoIT extends ESIntegTestCase {
final String clusterUUID = client().admin().cluster().prepareState().setMetaData(true).get().getState().metaData().clusterUUID();
assertTrue(Strings.hasText(clusterUUID));
awaitIndexExists(".marvel-es-data");
ensureGreen(".marvel-es-data");
awaitMarvelDocsCount(equalTo(1L), "cluster_info");
GetResponse response = client().prepareGet(".marvel-es-data", "cluster_info", clusterUUID).get();
assertTrue(".marvel-es-data" + " document does not exist", response.isExists());