|
@@ -51,7 +51,6 @@ import org.elasticsearch.xpack.core.ml.inference.TrainedModelConfig;
|
|
|
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 class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
|
|
|
"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";
|