Skip to content

Commit

Permalink
Unmute Categorize VerifierTests and require snapshot on them (#117016)
Browse files Browse the repository at this point in the history
Fixes #116856
Fixes #116857
Fixes #116858
  • Loading branch information
ivancea authored Nov 22, 2024
1 parent bcb29b7 commit d26a772
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/116777
- class: org.elasticsearch.xpack.searchablesnapshots.hdfs.SecureHdfsSearchableSnapshotsIT
issue: https://github.com/elastic/elasticsearch/issues/116851
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
method: testCategorizeWithinAggregations
issue: https://github.com/elastic/elasticsearch/issues/116856
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
method: testCategorizeSingleGrouping
issue: https://github.com/elastic/elasticsearch/issues/116857
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
method: testCategorizeNestedGrouping
issue: https://github.com/elastic/elasticsearch/issues/116858
- class: org.elasticsearch.search.basic.SearchWithRandomIOExceptionsIT
method: testRandomDirectoryIOExceptions
issue: https://github.com/elastic/elasticsearch/issues/114824
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1732,6 +1732,8 @@ public void testIntervalAsString() {
}

public void testCategorizeSingleGrouping() {
assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());

query("from test | STATS COUNT(*) BY CATEGORIZE(first_name)");
query("from test | STATS COUNT(*) BY cat = CATEGORIZE(first_name)");

Expand Down Expand Up @@ -1759,6 +1761,8 @@ public void testCategorizeSingleGrouping() {
}

public void testCategorizeNestedGrouping() {
assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());

query("from test | STATS COUNT(*) BY CATEGORIZE(LENGTH(first_name)::string)");

assertEquals(
Expand All @@ -1772,6 +1776,8 @@ public void testCategorizeNestedGrouping() {
}

public void testCategorizeWithinAggregations() {
assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());

query("from test | STATS MV_COUNT(cat), COUNT(*) BY cat = CATEGORIZE(first_name)");

assertEquals(
Expand Down

0 comments on commit d26a772

Please sign in to comment.