[TEST] slightly changed workaround cleanup for ml integ tests.
Original commit: elastic/x-pack-elasticsearch@3eba1e76ab
This commit is contained in:
parent
55b2111bdf
commit
3572cff0a8
|
@ -57,6 +57,7 @@ public class TooManyJobsIT extends BaseMlIntegTestCase {
|
|||
assertEquals(JobState.OPENED, task.getStatus());
|
||||
OpenJobAction.Request openJobRequest = (OpenJobAction.Request) task.getRequest();
|
||||
assertEquals("1", openJobRequest.getJobId());
|
||||
cleanupWorkaround(1);
|
||||
}
|
||||
|
||||
public void testSingleNode() throws Exception {
|
||||
|
|
|
@ -118,6 +118,8 @@ public abstract class BaseMlIntegTestCase extends SecurityIntegTestCase {
|
|||
internalCluster().stopRandomDataNode();
|
||||
}
|
||||
internalCluster().startNode(Settings.builder().put(XPackSettings.MACHINE_LEARNING_ENABLED.getKey(), false));
|
||||
ensureStableCluster(1);
|
||||
cluster().wipe(Collections.emptySet());
|
||||
}
|
||||
|
||||
private void deleteAllDatafeeds(Client client) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue