From f4991d862a765d5174906e92d76d8e4bfe1615e8 Mon Sep 17 00:00:00 2001 From: jaymode Date: Mon, 26 Oct 2015 16:22:08 -0400 Subject: [PATCH] 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@81ecfe0818241f19601e0b143142c168f759deaa --- .../java/org/elasticsearch/smoketest/MarvelClusterInfoIT.java | 1 - 1 file changed, 1 deletion(-) diff --git a/qa/smoke-test-found-license-with-shield-and-watcher/src/test/java/org/elasticsearch/smoketest/MarvelClusterInfoIT.java b/qa/smoke-test-found-license-with-shield-and-watcher/src/test/java/org/elasticsearch/smoketest/MarvelClusterInfoIT.java index a8eaf9c74eb..fca5ef9bcb1 100644 --- a/qa/smoke-test-found-license-with-shield-and-watcher/src/test/java/org/elasticsearch/smoketest/MarvelClusterInfoIT.java +++ b/qa/smoke-test-found-license-with-shield-and-watcher/src/test/java/org/elasticsearch/smoketest/MarvelClusterInfoIT.java @@ -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());