Skip to content

Conversation

@martijnvg
Copy link
Member

Set time series feature flag for release builds to test and internalClusterTest tasks. So that the time series aggregation test doesn't fail, because the plugin wouldn't load the time_series aggregation.

Closes #91505

Set time series feature flag for release builds to test and internalClusterTest tasks. So that the time series aggregation test doesn't fail, because the plugin wouldn't load the time_series aggregation.

Closes elastic#91505
@martijnvg martijnvg added >test Issues or PRs that are addressing/adding tests :StorageEngine/TSDB You know, for Metrics v8.6.0 labels Nov 10, 2022
@martijnvg martijnvg requested a review from nik9000 November 10, 2022 13:28
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 10, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)


if (BuildParams.isSnapshotBuild() == false) {
tasks.named("test").configure {
systemProperty 'es.index_mode_feature_flag_registered', 'true'
Copy link
Member

Choose a reason for hiding this comment

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

There's a nice thing for this now!

  requiresFeature 'es.index_mode_feature_flag_registered', Version.fromString("8.0.0")

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried to use it, but I think that is only possible inside a testClusters definition? Which is only for rest based tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've merged this PR now, so that the release tests stop failing.
If requiresFeature can also be used here then I can change that in a follow up PR.

@martijnvg
Copy link
Member Author

martijnvg commented Nov 10, 2022 via email

@martijnvg martijnvg merged commit bec3bce into elastic:main Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:StorageEngine/TSDB You know, for Metrics Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] InternalTimeSeriesTests testEqualsAndHashcode failing

3 participants