build: Fix setting the incorrect bwc version in mixed cluster qa module
Prior to this change if the `bwcTest` task is run then it would create task for each version, but each task in reality would use wireCompatVersions - 1 ES version. So we were not actually testing against 5.6.x versions in the 6.x and 6.0 branches.
This commit is contained in:
parent
262422375e
commit
9e67cca987
|
@ -37,14 +37,14 @@ for (Version version : wireCompatVersions) {
|
||||||
includePackaged = true
|
includePackaged = true
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This project runs the core REST tests against a 2 node cluster where one of
|
/* This project runs the core REST tests against a 4 node cluster where two of
|
||||||
the nodes has a different minor. */
|
the nodes has a different minor. */
|
||||||
Object extension = extensions.findByName("${baseName}#mixedClusterTestCluster")
|
Object extension = extensions.findByName("${baseName}#mixedClusterTestCluster")
|
||||||
configure(extensions.findByName("${baseName}#mixedClusterTestCluster")) {
|
configure(extension) {
|
||||||
distribution = 'zip'
|
distribution = 'zip'
|
||||||
numNodes = 4
|
numNodes = 4
|
||||||
numBwcNodes = 2
|
numBwcNodes = 2
|
||||||
bwcVersion = project.wireCompatVersions[-1]
|
bwcVersion = version
|
||||||
}
|
}
|
||||||
|
|
||||||
Task versionBwcTest = tasks.create(name: "${baseName}#bwcTest") {
|
Task versionBwcTest = tasks.create(name: "${baseName}#bwcTest") {
|
||||||
|
|
Loading…
Reference in New Issue