This commit is contained in:
parent
d5c3d9b50f
commit
c6709f0979
|
@ -1411,6 +1411,7 @@ public class MachineLearningIT extends ESRestHighLevelClientTestCase {
|
|||
assertThat(statsResponse.getTaskFailures(), hasSize(0));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testStartDataFrameAnalyticsConfig() throws Exception {
|
||||
String sourceIndex = "start-test-source-index";
|
||||
String destIndex = "start-test-dest-index";
|
||||
|
@ -1719,6 +1720,7 @@ public class MachineLearningIT extends ESRestHighLevelClientTestCase {
|
|||
highLevelClient().indices().create(new CreateIndexRequest(indexName).mapping(mapping), RequestOptions.DEFAULT);
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testEstimateMemoryUsage() throws IOException {
|
||||
String indexName = "estimate-test-index";
|
||||
createIndex(indexName, mappingForClassification());
|
||||
|
|
|
@ -3043,6 +3043,7 @@ public class MlClientDocumentationIT extends ESRestHighLevelClientTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testStartDataFrameAnalytics() throws Exception {
|
||||
createIndex(DF_ANALYTICS_CONFIG.getSource().getIndex()[0]);
|
||||
highLevelClient().index(
|
||||
|
|
|
@ -31,6 +31,7 @@ public class OutlierDetectionWithMissingFieldsIT extends MlNativeDataFrameAnalyt
|
|||
cleanUp();
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testMissingFields() throws Exception {
|
||||
String sourceIndex = "test-outlier-detection-with-missing-fields";
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
cleanUp();
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testOutlierDetectionWithFewDocuments() throws Exception {
|
||||
String sourceIndex = "test-outlier-detection-with-few-docs";
|
||||
|
||||
|
@ -115,6 +116,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
assertThat(scoreOfOutlier, is(greaterThan(scoreOfNonOutlier)));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testOutlierDetectionWithEnoughDocumentsToScroll() throws Exception {
|
||||
String sourceIndex = "test-outlier-detection-with-enough-docs-to-scroll";
|
||||
|
||||
|
@ -158,6 +160,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) docCount));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testOutlierDetectionWithMoreFieldsThanDocValueFieldLimit() throws Exception {
|
||||
String sourceIndex = "test-outlier-detection-with-more-fields-than-docvalue-limit";
|
||||
|
||||
|
@ -277,6 +280,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
}
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testOutlierDetectionWithMultipleSourceIndices() throws Exception {
|
||||
String sourceIndex1 = "test-outlier-detection-with-multiple-source-indices-1";
|
||||
String sourceIndex2 = "test-outlier-detection-with-multiple-source-indices-2";
|
||||
|
@ -327,6 +331,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) bulkRequestBuilder.numberOfActions()));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testOutlierDetectionWithPreExistingDestIndex() throws Exception {
|
||||
String sourceIndex = "test-outlier-detection-with-pre-existing-dest-index";
|
||||
String destIndex = "test-outlier-detection-with-pre-existing-dest-index-results";
|
||||
|
@ -440,6 +445,7 @@ public class RunDataFrameAnalyticsIT extends MlNativeDataFrameAnalyticsIntegTest
|
|||
assertThat(resultsWithPrediction, greaterThan(0));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
|
||||
public void testModelMemoryLimitLowerThanEstimatedMemoryUsage() {
|
||||
String sourceIndex = "test-model-memory-limit";
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@ setup:
|
|||
|
||||
---
|
||||
"Test memory usage estimation for empty data frame":
|
||||
- skip:
|
||||
version: "7.4.0 - "
|
||||
reason: "https://github.com/elastic/elasticsearch/issues/45741"
|
||||
|
||||
- do:
|
||||
ml.estimate_memory_usage:
|
||||
|
@ -24,6 +27,9 @@ setup:
|
|||
|
||||
---
|
||||
"Test memory usage estimation for non-empty data frame":
|
||||
- skip:
|
||||
version: "7.4.0 - "
|
||||
reason: "https://github.com/elastic/elasticsearch/issues/45741"
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
|
Loading…
Reference in New Issue