mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
ensureGreen (#38324)
This commit is contained in:
parent
625d37a26a
commit
7bc8bc9605
@ -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()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user