-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove several uses of 6.x version constants #41162
Conversation
This commit removes many conditionals in serialization, as well as tests which no longer need to be compatible with 6.x now that master is 8.0. Additionally, many tests are changed to not depend on a fixed version, but instead use new helper methods for getting the range of index compatible versions with the current version, which will make the tests not need changes in the future when version constants are removed.
Pinging @elastic/es-core-infra |
relates #41164 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for kicking this off! I gave a pass and changes look reasonable.
Just left a few questions and comments
test/framework/src/main/java/org/elasticsearch/test/AbstractBuilderTestCase.java
Outdated
Show resolved
Hide resolved
test/framework/src/main/java/org/elasticsearch/test/VersionUtils.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit removes many conditionals in serialization, as well as tests which no longer need to be compatible with 6.x now that master is 8.0. Additionally, many tests are changed to not depend on a fixed version, but instead use new helper methods for getting the range of index compatible versions with the current version, which will make the tests not need changes in the future when version constants are removed.
This commit removes many conditionals in serialization, as well as tests
which no longer need to be compatible with 6.x now that master is 8.0.
Additionally, many tests are changed to not depend on a fixed version,
but instead use new helper methods for getting the range of index
compatible versions with the current version, which will make the tests
not need changes in the future when version constants are removed.