diff --git a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ClassificationIT.java b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ClassificationIT.java index 96ca1b1b54eed..e842bef886f72 100644 --- a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ClassificationIT.java +++ b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ClassificationIT.java @@ -51,7 +51,6 @@ import org.elasticsearch.xpack.core.ml.inference.preprocessing.OneHotEncoding; import org.elasticsearch.xpack.core.ml.inference.preprocessing.PreProcessor; import org.junit.After; -import org.junit.Before; import java.io.IOException; import java.util.ArrayList; @@ -103,25 +102,9 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { private String destIndex; private boolean analysisUsesExistingDestIndex; - @Before - public void setupLogging() { - client().admin().cluster() - .prepareUpdateSettings() - .setTransientSettings(Settings.builder() - .put("logger.org.elasticsearch.xpack.ml.dataframe.inference", "DEBUG") - .put("logger.org.elasticsearch.xpack.core.ml.inference", "DEBUG")) - .get(); - } - @After public void cleanup() { cleanUp(); - client().admin().cluster() - .prepareUpdateSettings() - .setTransientSettings(Settings.builder() - .putNull("logger.org.elasticsearch.xpack.ml.dataframe.inference") - .putNull("logger.org.elasticsearch.xpack.core.ml.inference")) - .get(); } @Override @@ -491,7 +474,6 @@ public void testWithOnlyTrainingRowsAndTrainingPercentIsFifty_DependentVariableI "classification_training_percent_is_50_boolean", BOOLEAN_FIELD, BOOLEAN_FIELD_VALUES, "boolean"); } - @AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/67581") public void testStopAndRestart() throws Exception { initialize("classification_stop_and_restart"); String predictedClassField = KEYWORD_FIELD + "_prediction"; diff --git a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RunDataFrameAnalyticsIT.java b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RunDataFrameAnalyticsIT.java index 348be8ec0e8e4..55dd81b42a379 100644 --- a/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RunDataFrameAnalyticsIT.java +++ b/x-pack/plugin/ml/qa/native-multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/RunDataFrameAnalyticsIT.java @@ -50,25 +50,9 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTestCase { - @Before - public void enableLogging() { - client().admin().cluster() - .prepareUpdateSettings() - .setTransientSettings(Settings.builder() - .put("logger.org.elasticsearch.xpack.ml.action", "DEBUG") - .put("logger.org.elasticsearch.xpack.ml.dataframe", "DEBUG")) - .get(); - } - @After public void cleanup() { cleanUp(); - client().admin().cluster() - .prepareUpdateSettings() - .setTransientSettings(Settings.builder() - .putNull("logger.org.elasticsearch.xpack.ml.action") - .putNull("logger.org.elasticsearch.xpack.ml.dataframe")) - .get(); } public void testOutlierDetectionWithFewDocuments() throws Exception { @@ -616,7 +600,6 @@ public void testLazyAssignmentWithModelMemoryLimitTooHighForAssignment() throws "Stopped analytics"); } - @AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/67889") public void testOutlierDetectionStopAndRestart() throws Exception { String sourceIndex = "test-outlier-detection-stop-and-restart";