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