[TEST] Wait for stable cluster to avoid spurious test failures
Original commit: elastic/x-pack-elasticsearch@4c0d9a0fac1b18f7f52f0e662ac0d0eb10d3ce2d
@@ -119,6 +119,7 @@ public class TooManyJobsIT extends BaseMlIntegTestCase {
.put(AutodetectProcessManager.MAX_RUNNING_JOBS_PER_NODE.getKey(), maxNumberOfJobsPerNode));
}
logger.info("Started [{}] nodes", numNodes);
+ ensureStableCluster(numNodes);
}
}
