ensureGreen (#38324)

This commit is contained in:
Andrey Ershov 2019-02-04 16:36:04 +01:00 committed by GitHub
parent 625d37a26a
commit 7bc8bc9605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -391,7 +391,6 @@ public class ElasticsearchNodeCommandIT extends ESIntegTestCase {
internalCluster().stopRandomNode(InternalTestCluster.nameFilter(node));
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/38267")
public void testCanRunUnsafeBootstrapAfterErroneousDetachWithoutLoosingMetaData() throws Exception {
internalCluster().setBootstrapMasterNodeIndex(0);
internalCluster().startMasterOnlyNode();
@ -410,7 +409,7 @@ public class ElasticsearchNodeCommandIT extends ESIntegTestCase {
unsafeBootstrap(environment);
internalCluster().startMasterOnlyNode();
ensureStableCluster(1);
ensureGreen();
state = internalCluster().client().admin().cluster().prepareState().execute().actionGet().getState();
assertThat(state.metaData().settings().get(INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING.getKey()),