From 2385619158fc62ce78e47ac786bf0e754493b75c Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Thu, 13 Apr 2017 12:52:29 +0100 Subject: [PATCH] [TEST] Add missing clean up in UpdateInterimResultsIT Original commit: elastic/x-pack-elasticsearch@bb1a495c8e8e3fde1fdcdbbcf0f95af9de731b6a --- .../xpack/ml/integration/UpdateInterimResultsIT.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java index c2146a62698..d5061cfdb36 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/UpdateInterimResultsIT.java @@ -13,6 +13,7 @@ import org.elasticsearch.xpack.ml.job.config.DataDescription; import org.elasticsearch.xpack.ml.job.config.Detector; import org.elasticsearch.xpack.ml.job.config.Job; import org.elasticsearch.xpack.ml.job.results.Bucket; +import org.junit.After; import java.util.Arrays; import java.util.HashMap; @@ -35,6 +36,11 @@ public class UpdateInterimResultsIT extends MlNativeAutodetectIntegTestCase { private long time; + @After + public void cleanUpTest() throws Exception { + cleanUp(); + } + public void test() throws Exception { AnalysisConfig.Builder analysisConfig = new AnalysisConfig.Builder( Arrays.asList(new Detector.Builder("max", "value").build()));