Mute multiple tests in ClassificationIT (#64930)

Relates #64926
This commit is contained in:
Daniel Mitterdorfer 2020-11-11 15:30:19 +01:00 committed by GitHub
parent 8bdd9f6ddc
commit b8c9780c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -129,6 +129,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
return new NamedXContentRegistry(entries); return new NamedXContentRegistry(entries);
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testSingleNumericFeatureAndMixedTrainingAndNonTrainingRows() throws Exception { public void testSingleNumericFeatureAndMixedTrainingAndNonTrainingRows() throws Exception {
initialize("classification_single_numeric_feature_and_mixed_data_set"); initialize("classification_single_numeric_feature_and_mixed_data_set");
String predictedClassField = KEYWORD_FIELD + "_prediction"; String predictedClassField = KEYWORD_FIELD + "_prediction";
@ -241,6 +242,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
assertEvaluation(KEYWORD_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField); assertEvaluation(KEYWORD_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField);
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testWithOnlyTrainingRowsAndTrainingPercentIsHundred() throws Exception { public void testWithOnlyTrainingRowsAndTrainingPercentIsHundred() throws Exception {
initialize("classification_only_training_data_and_training_percent_is_100"); initialize("classification_only_training_data_and_training_percent_is_100");
String predictedClassField = KEYWORD_FIELD + "_prediction"; 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]")); 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 { public void testDependentVariableCardinalityTooHighButWithQueryMakesItWithinRange() throws Exception {
initialize("cardinality_too_high_with_query"); initialize("cardinality_too_high_with_query");
indexData(sourceIndex, 6, 5, KEYWORD_FIELD); 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); assertEvaluation(ALIAS_TO_KEYWORD_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField);
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testDependentVariableIsAliasToNested() throws Exception { public void testDependentVariableIsAliasToNested() throws Exception {
initialize("dependent_variable_is_alias_to_nested"); initialize("dependent_variable_is_alias_to_nested");
String predictedClassField = ALIAS_TO_NESTED_FIELD + "_prediction"; 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); assertEvaluation(ALIAS_TO_NESTED_FIELD, KEYWORD_FIELD_VALUES, "ml." + predictedClassField);
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testTwoJobsWithSameRandomizeSeedUseSameTrainingSet() throws Exception { public void testTwoJobsWithSameRandomizeSeedUseSameTrainingSet() throws Exception {
String sourceIndex = "classification_two_jobs_with_same_randomize_seed_source"; String sourceIndex = "classification_two_jobs_with_same_randomize_seed_source";
String dependentVariable = KEYWORD_FIELD; String dependentVariable = KEYWORD_FIELD;
@ -678,6 +683,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
assertThat(secondRunTrainingRowsIds, equalTo(firstRunTrainingRowsIds)); assertThat(secondRunTrainingRowsIds, equalTo(firstRunTrainingRowsIds));
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testSetUpgradeMode_ExistingTaskGetsUnassigned() throws Exception { public void testSetUpgradeMode_ExistingTaskGetsUnassigned() throws Exception {
initialize("classification_set_upgrade_mode"); initialize("classification_set_upgrade_mode");
indexData(sourceIndex, 300, 0, KEYWORD_FIELD); indexData(sourceIndex, 300, 0, KEYWORD_FIELD);
@ -775,6 +781,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
assertThat(stateIndexSearchResponse.getHits().getTotalHits().value, equalTo(0L)); assertThat(stateIndexSearchResponse.getHits().getTotalHits().value, equalTo(0L));
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
public void testUpdateAnalytics() throws Exception { public void testUpdateAnalytics() throws Exception {
initialize("update_analytics_description"); initialize("update_analytics_description");