Skip to content

Commit

Permalink
ESQL: Add skip to test (elastic#111361)
Browse files Browse the repository at this point in the history
This skips some tests in release mode that try to test a feature that's
only available in snapshots.

Closes elastic#111263 Closes elastic#111264 Closes elastic#111287 Closes elastic#111286
  • Loading branch information
nik9000 committed Jul 26, 2024
1 parent 9b1f07a commit 7f78fda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ tests:
- class: org.elasticsearch.repositories.azure.AzureBlobContainerRetriesTests
method: testReadNonexistentBlobThrowsNoSuchFileException
issue: https://github.com/elastic/elasticsearch/issues/111233
- class: org.elasticsearch.xpack.esql.qa.single_node.RestEsqlIT
method: testInlineStatsProfile {SYNC}
issue: https://github.com/elastic/elasticsearch/issues/111263
- class: org.elasticsearch.xpack.esql.qa.single_node.RestEsqlIT
method: testInlineStatsProfile {ASYNC}
issue: https://github.com/elastic/elasticsearch/issues/111264
- class: org.elasticsearch.action.admin.indices.create.SplitIndexIT
method: testSplitIndexPrimaryTerm
issue: https://github.com/elastic/elasticsearch/issues/111282
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ public void testTableDuplicateNames() throws IOException {
* </p>
*/
public void testInlineStatsNow() throws IOException {
assumeTrue("INLINESTATS only available on snapshots", Build.current().isSnapshot());
indexTestData();

RequestObjectBuilder builder = requestObjectBuilder().query(
Expand Down Expand Up @@ -369,6 +370,7 @@ public void testProfile() throws IOException {
}

public void testInlineStatsProfile() throws IOException {
assumeTrue("INLINESTATS only available on snapshots", Build.current().isSnapshot());
indexTestData();

RequestObjectBuilder builder = requestObjectBuilder().query(fromIndex() + " | INLINESTATS AVG(value) | SORT value ASC");
Expand Down

0 comments on commit 7f78fda

Please sign in to comment.