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:
parent
6a46660d40
commit
f4991d862a
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue