[TEST] Wait for stable cluster to avoid spurious test failures

Original commit: elastic/x-pack-elasticsearch@4c0d9a0fac
This commit is contained in:
David Roberts 2017-06-06 10:23:54 +01:00
parent f09ccbc6cb
commit 0d2b127fd7
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}