From b8c9780c23fa99156d0520f01a91fb7f2650f14f Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Wed, 11 Nov 2020 15:30:19 +0100 Subject: [PATCH] Mute multiple tests in ClassificationIT (#64930) Relates #64926 --- .../xpack/ml/integration/ClassificationIT.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 d2d3a8ad4be..08d4e667671 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 @@ -129,6 +129,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { return new NamedXContentRegistry(entries); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testSingleNumericFeatureAndMixedTrainingAndNonTrainingRows() throws Exception { initialize("classification_single_numeric_feature_and_mixed_data_set"); String predictedClassField = KEYWORD_FIELD + "_prediction"; @@ -241,6 +242,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertEvaluation(KEYWORD_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testWithOnlyTrainingRowsAndTrainingPercentIsHundred() throws Exception { initialize("classification_only_training_data_and_training_percent_is_100"); String predictedClassField = KEYWORD_FIELD + "_prediction"; @@ -560,6 +562,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertThat(e.getMessage(), equalTo("Field [keyword-field] must have at most [30] distinct values but there were at least [31]")); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testDependentVariableCardinalityTooHighButWithQueryMakesItWithinRange() throws Exception { initialize("cardinality_too_high_with_query"); indexData(sourceIndex, 6, 5, KEYWORD_FIELD); @@ -616,6 +619,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertEvaluation(ALIAS_TO_KEYWORD_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testDependentVariableIsAliasToNested() throws Exception { initialize("dependent_variable_is_alias_to_nested"); String predictedClassField = ALIAS_TO_NESTED_FIELD + "_prediction"; @@ -634,6 +638,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertEvaluation(ALIAS_TO_NESTED_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testTwoJobsWithSameRandomizeSeedUseSameTrainingSet() throws Exception { String sourceIndex = "classification_two_jobs_with_same_randomize_seed_source"; String dependentVariable = KEYWORD_FIELD; @@ -678,6 +683,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertThat(secondRunTrainingRowsIds, equalTo(firstRunTrainingRowsIds)); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testSetUpgradeMode_ExistingTaskGetsUnassigned() throws Exception { initialize("classification_set_upgrade_mode"); indexData(sourceIndex, 300, 0, KEYWORD_FIELD); @@ -775,6 +781,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase { assertThat(stateIndexSearchResponse.getHits().getTotalHits().value, equalTo(0L)); } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926") public void testUpdateAnalytics() throws Exception { initialize("update_analytics_description");