[TEST] Delete job from DatafeedJobsIT.testRealtime in clean up

relates elastic/x-pack-elasticsearch#1246

Original commit: elastic/x-pack-elasticsearch@9ca07f1308
This commit is contained in:
Dimitrios Athanasiou 2017-04-28 11:00:51 +01:00
parent c551bcba5c
commit 57382390ab
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class DatafeedJobsIT extends MlNativeAutodetectIntegTestCase {
indexDocs(logger, "data", numDocs1, lastWeek, now);
Job.Builder job = createScheduledJob("realtime-job");
registerJob(job);
assertTrue(putJob(job).isAcknowledged());
openJob(job.getId());
assertBusy(() -> {