From 2751790aeaf632db699ef2134d213057e794b382 Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Fri, 4 May 2018 10:45:04 +0100 Subject: [PATCH] [ML][TEST] Clean up jobs in ModelPlotIT Closes #30377 --- .../org/elasticsearch/xpack/ml/integration/ModelPlotsIT.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ModelPlotsIT.java b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ModelPlotsIT.java index f58820f0b58..eb0c125a13c 100644 --- a/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ModelPlotsIT.java +++ b/x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ModelPlotsIT.java @@ -73,6 +73,7 @@ public class ModelPlotsIT extends MlNativeAutodetectIntegTestCase { public void testPartitionFieldWithoutTerms() throws Exception { Job.Builder job = jobWithPartitionUser("model-plots-it-test-partition-field-without-terms"); job.setModelPlotConfig(new ModelPlotConfig()); + registerJob(job); putJob(job); String datafeedId = job.getId() + "-feed"; DatafeedConfig datafeed = newDatafeed(datafeedId, job.getId()); @@ -90,6 +91,7 @@ public class ModelPlotsIT extends MlNativeAutodetectIntegTestCase { public void testPartitionFieldWithTerms() throws Exception { Job.Builder job = jobWithPartitionUser("model-plots-it-test-partition-field-with-terms"); job.setModelPlotConfig(new ModelPlotConfig(true, "user_2,user_3")); + registerJob(job); putJob(job); String datafeedId = job.getId() + "-feed"; DatafeedConfig datafeed = newDatafeed(datafeedId, job.getId()); @@ -107,6 +109,7 @@ public class ModelPlotsIT extends MlNativeAutodetectIntegTestCase { public void testByFieldWithTerms() throws Exception { Job.Builder job = jobWithByUser("model-plots-it-test-by-field-with-terms"); job.setModelPlotConfig(new ModelPlotConfig(true, "user_2,user_3")); + registerJob(job); putJob(job); String datafeedId = job.getId() + "-feed"; DatafeedConfig datafeed = newDatafeed(datafeedId, job.getId());