[TEST] Fix ccs-unavailable-clusters QA tests build (#114833)

Properly use `configureEach` on the task configuration to postpone the
tasks creation and configuration in the build process
This commit is contained in:
Mariusz Józala 2024-10-15 16:48:27 +02:00 committed by GitHub
parent 6ec7a9ab23
commit 075cd24043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,6 @@ import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
apply plugin: 'elasticsearch.internal-java-rest-test'
tasks.withType(StandaloneRestIntegTestTask) {
tasks.withType(StandaloneRestIntegTestTask).configureEach {
usesDefaultDistribution()
}