Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mute tests affected by renaming fields in Estimate memory usage response #45743

Merged
merged 1 commit into from
Aug 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,7 @@ public void testGetDataFrameAnalyticsStats() throws Exception {
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";
Expand Down Expand Up @@ -1689,6 +1690,7 @@ private void createIndex(String indexName, XContentBuilder mapping) throws IOExc
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());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3043,6 +3043,7 @@ public void onFailure(Exception e) {
}
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
public void testStartDataFrameAnalytics() throws Exception {
createIndex(DF_ANALYTICS_CONFIG.getSource().getIndex()[0]);
highLevelClient().index(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public void cleanup() {
cleanUp();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
public void testMissingFields() throws Exception {
String sourceIndex = "test-outlier-detection-with-missing-fields";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public void cleanup() {
cleanUp();
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
public void testOutlierDetectionWithFewDocuments() throws Exception {
String sourceIndex = "test-outlier-detection-with-few-docs";

Expand Down Expand Up @@ -116,6 +117,7 @@ public void testOutlierDetectionWithFewDocuments() throws Exception {
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";

Expand Down Expand Up @@ -159,6 +161,7 @@ public void testOutlierDetectionWithEnoughDocumentsToScroll() throws Exception {
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";

Expand Down Expand Up @@ -278,6 +281,7 @@ public void testStopOutlierDetectionWithEnoughDocumentsToScroll() {
}
}

@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";
Expand Down Expand Up @@ -328,6 +332,7 @@ public void testOutlierDetectionWithMultipleSourceIndices() throws Exception {
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";
Expand Down Expand Up @@ -439,6 +444,7 @@ public void testRegressionWithNumericFeatureAndFewDocuments() throws Exception {
assertThat(resultsWithPrediction, greaterThan(0));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45741")
public void testModelMemoryLimitLowerThanEstimatedMemoryUsage() {
String sourceIndex = "test-model-memory-limit";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down