mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
[Build] Require reason for usesDefaultDistribution (#124707)
This makes using usesDefaultDistribution in our test setup for explicit by requiring a reason why it's needed. This is helpful as part of revisiting the need for all those usages in our code base.
This commit is contained in:
parent
a77bf7f1a6
commit
ae569def9c
62 changed files with 80 additions and 71 deletions
|
@ -31,7 +31,7 @@ def supportedVersion = bwcVersion -> {
|
|||
buildParams.bwcVersions.withWireCompatible(supportedVersion) { bwcVersion, baseName ->
|
||||
|
||||
def yamlRestTest = tasks.register("v${bwcVersion}#yamlRestTest", StandaloneRestIntegTestTask) {
|
||||
usesDefaultDistribution()
|
||||
usesDefaultDistribution("BWC tests require full distribution for now")
|
||||
usesBwcDistribution(bwcVersion)
|
||||
systemProperty("tests.old_cluster_version", bwcVersion)
|
||||
testClassesDirs = sourceSets.yamlRestTest.output.classesDirs
|
||||
|
|
|
@ -25,10 +25,10 @@ artifacts {
|
|||
}
|
||||
|
||||
tasks.named('yamlRestTest') {
|
||||
usesDefaultDistribution()
|
||||
usesDefaultDistribution("to be triaged")
|
||||
}
|
||||
tasks.named('yamlRestCompatTest') {
|
||||
usesDefaultDistribution()
|
||||
usesDefaultDistribution("to be triaged")
|
||||
}
|
||||
if (buildParams.inFipsJvm){
|
||||
// This test cluster is using a BASIC license and FIPS 140 mode is not supported in BASIC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue