mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Use syntactic sugar for starting data only nodes
This commit is contained in:
parent
7b5e323ec0
commit
84033f3f2e
@ -134,7 +134,7 @@ public class FullRollingRestartIT extends ESIntegTestCase {
|
||||
public void testNoRebalanceOnRollingRestart() throws Exception {
|
||||
// see https://github.com/elastic/elasticsearch/issues/14387
|
||||
internalCluster().startMasterOnlyNode(Settings.EMPTY);
|
||||
internalCluster().startNodesAsync(3, Settings.builder().put("node.master", false).build()).get();
|
||||
internalCluster().startDataOnlyNodesAsync(3).get();
|
||||
/**
|
||||
* We start 3 nodes and a dedicated master. Restart on of the data-nodes and ensure that we got no relocations.
|
||||
* Yet we have 6 shards 0 replica so that means if the restarting node comes back both other nodes are subject
|
||||
|
Loading…
x
Reference in New Issue
Block a user