[TEST] Start non ML node in BasicDistributedJobsIT.testMlIndicesNotAvailable
Original commit: elastic/x-pack-elasticsearch@71e63b6ea2
This commit is contained in:
parent
1eb785d8ee
commit
50de99374c
|
@ -349,6 +349,9 @@ public class BasicDistributedJobsIT extends BaseMlIntegTestCase {
|
|||
internalCluster().ensureAtMostNumDataNodes(0);
|
||||
// start non ml node, but that will hold the indices
|
||||
logger.info("Start non ml node:");
|
||||
internalCluster().startNode(Settings.builder()
|
||||
.put("node.data", true)
|
||||
.put(MachineLearning.ML_ENABLED.getKey(), false));
|
||||
ensureStableCluster(1);
|
||||
logger.info("Starting ml node");
|
||||
String mlNode = internalCluster().startNode(Settings.builder()
|
||||
|
|
Loading…
Reference in New Issue