Skip to content

Guard inlinestats tests in release builds#134915

Merged
dnhatn merged 1 commit intoelastic:mainfrom
dnhatn:fix-inline-stats-release
Sep 17, 2025
Merged

Guard inlinestats tests in release builds#134915
dnhatn merged 1 commit intoelastic:mainfrom
dnhatn:fix-inline-stats-release

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Sep 17, 2025

Some InlineStats tests failed in release builds (see #134768). We need to guard these tests with capability checks.

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build :Analytics/ES|QL AKA ESQL labels Sep 17, 2025
@dnhatn dnhatn requested review from astefan and smalyshev September 17, 2025 15:10
@dnhatn dnhatn marked this pull request as ready for review September 17, 2025 15:10
@dnhatn dnhatn enabled auto-merge (squash) September 17, 2025 15:10
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Sep 17, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@dnhatn dnhatn changed the title Fix inlinestats tests in release builds Guard inlinestats tests in release builds Sep 17, 2025
}

protected static String randomStats() {
return INLINESTATS_SUPPORTS_REMOTE.isEnabled() ? randomFrom("STATS", "INLINESTATS") : "STATS";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should somehow include INLINESTATS_V11 as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an IntegTest, which run only with the current version.

@smalyshev
Copy link
Copy Markdown
Contributor

Oh, didn't realize it's snapshot-only. Thanks!

@dnhatn dnhatn merged commit e36a5d5 into elastic:main Sep 17, 2025
34 checks passed
@dnhatn dnhatn deleted the fix-inline-stats-release branch September 17, 2025 16:07
@dnhatn
Copy link
Copy Markdown
Member Author

dnhatn commented Sep 17, 2025

@astefan @smalyshev Thanks!

gmjehovich pushed a commit to gmjehovich/elasticsearch that referenced this pull request Sep 18, 2025
Some InlineStats tests failed in release builds (see elastic#134768). 
We need to guard these tests with capability checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants