Skip to content

Commit

Permalink
Fix cc for x-pack/qa/rolling-upgrade-multi-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Jan 7, 2025
1 parent 81036e6 commit 718dfea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x-pack/qa/rolling-upgrade-multi-cluster/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ buildParams.bwcVersions.withWireCompatible { bwcVersion, baseName ->
useCluster baseLeaderCluster
useCluster baseFollowerCluster
systemProperty 'tests.upgrade_from_version', bwcVersion.toString().replace('-SNAPSHOT', '')
def clusterPrefix = getName().substring(0, getName().lastIndexOf("#")).replace('#', '-')
println "clusterPrefix = $clusterPrefix"

def baseCluster = testClusters.named(clusterPrefix)

doFirst {
def baseCluster = testClusters.named("${baseName}-${kindExt}").get()
if (name.endsWith("#clusterTest") == false) {
println "Upgrade node $it"
getRegistry().get().nextNodeToNextVersion(baseCluster)
Expand Down

0 comments on commit 718dfea

Please sign in to comment.