-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[Gradle] Make rolling upgrade tests configuration cache compatible #119577
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/es-delivery (Team:Delivery) |
Example run with configuration cache enabled: https://gradle-enterprise.elastic.co/s/4xkjqhtp4wgdg |
c6e6ba3
to
b153a40
Compare
@@ -26,7 +26,7 @@ public interface TestClustersAware extends Task { | |||
Collection<ElasticsearchCluster> getClusters(); | |||
|
|||
@ServiceReference(REGISTRY_SERVICE_NAME) | |||
Property<TestClustersRegistry> getRegistery(); | |||
Property<TestClustersRegistry> getRegistry(); |
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.
fix typo on the way
38ba572
to
f095bb1
Compare
systemProperty 'tests.bwc_nodes_version', bwcVersion.toString().replace('-SNAPSHOT', '') | ||
systemProperty 'tests.new_nodes_version', project.version.toString().replace('-SNAPSHOT', '') | ||
// onlyIf("BWC tests disabled") { project.bwc_tests_enabled } |
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.
reinstantiated as we walk by
d08c6c6
to
0f25872
Compare
With this, all rolling upgrade tests that involve a
nextNodeToNextVersion
update are gradle configuration cache compatible.Simplify API around test cluster registry and cc compatible usage of test cluster in TestClusterAware tasks.