-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Convert :test projects to new testing framework
#125724
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
Conversation
|
Pinging @elastic/es-delivery (Team:Delivery) |
| } | ||
|
|
||
| tasks.named('yamlRestTest') { | ||
| def isSnapshot = buildParams.snapshotBuild |
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.
@breskeby I had to do this in a number of places, otherwise the configuration cache would throw an error
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.
Yeah. Onlyif is evaluated at tasks execution phase and buildparsms here is an extension. Those can not be accessed during execution phase
| map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:smoke-test-plugins-ssl"); | ||
| map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:smoke-test-security-with-mustache"); | ||
| map.put(LegacyRestTestBasePlugin.class, ":x-pack:qa:xpack-prefix-rest-compat"); | ||
| map.put(LegacyRestTestBasePlugin.class, ":modules:ingest-geoip:qa:file-based-update"); |
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.
I simply forgot to remove these in earlier PRs
| .distribution(DistributionType.DEFAULT) | ||
| .module("test-error-query") | ||
| .module("x-pack-esql") | ||
| .module("x-pack-ilm") |
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.
esql requires ml which implicitly requires ilm. Perhaps that dependency should be explicit? 🤷
💔 Backport failed
You can use sqren/backport to manually backport by running |
(cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…25742) * Convert `:test` projects to new testing framework (#125724) (cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java * Bump timeout
…) (elastic#125742) * Convert `:test` projects to new testing framework (elastic#125724) (cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java * Bump timeout (cherry picked from commit 533d38d) # Conflicts: # test/external-modules/error-query/build.gradle
…) (elastic#125742) * Convert `:test` projects to new testing framework (elastic#125724) (cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java * Bump timeout (cherry picked from commit 533d38d) # Conflicts: # test/external-modules/error-query/build.gradle
…25742) (#125791) * Convert `:test` projects to new testing framework (#125724) (cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java * Bump timeout (cherry picked from commit 533d38d) # Conflicts: # test/external-modules/error-query/build.gradle
… (#125742) (#125790) * [9.0] Convert `:test` projects to new testing framework (#125724) (#125742) * Convert `:test` projects to new testing framework (#125724) (cherry picked from commit e149a3e) # Conflicts: # build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RestrictedBuildApiService.java # test/external-modules/error-query/build.gradle # test/external-modules/error-query/src/javaRestTest/java/org/elasticsearch/test/esql/EsqlPartialResultsIT.java * Bump timeout (cherry picked from commit 533d38d) # Conflicts: # test/external-modules/error-query/build.gradle * Don't use default distribution
Converts the last remaining projects under
testto use the new testing framework.