Skip to content

Conversation

@mark-vieira
Copy link
Contributor

@mark-vieira mark-vieira commented Mar 25, 2025

Ported this project over to new testing framework and also re-enabled it since it had been muted for awhile.

Closes #97736

@mark-vieira mark-vieira added >test Issues or PRs that are addressing/adding tests :Core/Infra/Core Core issues without another label >refactoring auto-backport Automatically create backport pull requests when merged test-full-bwc Trigger full BWC version matrix tests v9.0.0 v8.18.1 v8.19.0 labels Mar 25, 2025
@mark-vieira mark-vieira requested a review from a team as a code owner March 25, 2025 17:30
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team v9.1.0 labels Mar 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

/**
* Sets the version of Elasticsearch. Defaults to {@link Version#CURRENT}.
*/
T version(String version);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added this as a convenience as many of our tests use org.elasticsearch.Version so then you have to disambiguate imports which is annoying. Plus, we almost always inject this into the build as a system property, which is a string to begin with.

}
}

tasks.register("verifyDocsLuceneVersion") {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This got moved to the :docs project since it made much more sense for it to live there.

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira mark-vieira merged commit 6575106 into elastic:main Mar 25, 2025
17 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
9.0 Commit could not be cherrypicked due to conflicts
8.18 Commit could not be cherrypicked due to conflicts
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 125605

mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Mar 25, 2025
(cherry picked from commit 6575106)

# Conflicts:
#	qa/verify-version-constants/build.gradle
mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Mar 25, 2025
(cherry picked from commit 6575106)

# Conflicts:
#	docs/build.gradle
@mark-vieira
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x
9.0
8.18

Questions ?

Please refer to the Backport tool documentation

mark-vieira added a commit to mark-vieira/elasticsearch that referenced this pull request Mar 25, 2025
(cherry picked from commit 6575106)

# Conflicts:
#	qa/verify-version-constants/build.gradle
elasticsearchmachine pushed a commit that referenced this pull request Mar 25, 2025
(cherry picked from commit 6575106)

# Conflicts:
#	docs/build.gradle
elasticsearchmachine pushed a commit that referenced this pull request Mar 26, 2025
* Re-enable VerifyVersionConstantsIT (#125605)

(cherry picked from commit 6575106)

# Conflicts:
#	qa/verify-version-constants/build.gradle

* Fix test
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests test-full-bwc Trigger full BWC version matrix tests v8.18.1 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-enable verify lucene version constants test

3 participants