|
@@ -128,7 +128,6 @@ 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,7 +240,6 @@ 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";
|
|
@@ -479,7 +477,6 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
|
|
|
"classification_training_percent_is_50_text_and_keyword", TEXT_FIELD + ".keyword", KEYWORD_FIELD_VALUES, "keyword");
|
|
|
}
|
|
|
|
|
|
- @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64926")
|
|
|
public void testWithOnlyTrainingRowsAndTrainingPercentIsFifty_DependentVariableIsBoolean() throws Exception {
|
|
|
testWithOnlyTrainingRowsAndTrainingPercentIsFifty(
|
|
|
"classification_training_percent_is_50_boolean", BOOLEAN_FIELD, BOOLEAN_FIELD_VALUES, "boolean");
|
|
@@ -524,7 +521,7 @@ public class ClassificationIT extends MlNativeDataFrameAnalyticsIntegTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- waitUntilAnalyticsIsStopped(jobId, TimeValue.timeValueMinutes(1));
|
|
|
+ waitUntilAnalyticsIsStopped(jobId);
|
|
|
|
|
|
SearchResponse sourceData = client().prepareSearch(sourceIndex).setTrackTotalHits(true).setSize(1000).get();
|
|
|
for (SearchHit hit : sourceData.getHits()) {
|
|
@@ -566,7 +563,6 @@ 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);
|
|
@@ -623,7 +619,6 @@ 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";
|
|
@@ -642,7 +637,6 @@ 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;
|
|
@@ -687,7 +681,6 @@ 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);
|
|
@@ -785,7 +778,6 @@ 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");
|
|
|
|