From 57382390ab55b30a0aedfc5836231a600b93ffbf Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Fri, 28 Apr 2017 11:00:51 +0100 Subject: [PATCH] [TEST] Delete job from DatafeedJobsIT.testRealtime in clean up relates elastic/x-pack-elasticsearch#1246 Original commit: elastic/x-pack-elasticsearch@9ca07f13085434a107575e2d1181aa012a08f5ac --- .../org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java index bd7931ff21d..f04cce82331 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsIT.java @@ -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(() -> {