Skip to content

Commit f9b51bb

Browse files
committed
fix smoke test: use mcr_channel key and stable-25.0 for upgrade
LAUNCHPAD map has no 'mcr_version' key — it uses 'mcr_channel'. The type assertion on a nil map value caused a panic at line 172. Use the correct key and replace the channel string with 'stable-25.0' (floating channel, picks up latest patch) for the upgrade step.
1 parent d2dd59f commit f9b51bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/smoke/smoke_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func TestSupportedMatrixCluster(t *testing.T) {
169169
assert.NoError(t, err)
170170

171171
// Replace the version values for MCR,MKE,MSR in the mkeClusterConfig for an upgrade
172-
mkeClusterConfig = strings.ReplaceAll(mkeClusterConfig, LAUNCHPAD["mcr_version"].(string), "25.0.13")
172+
mkeClusterConfig = strings.ReplaceAll(mkeClusterConfig, LAUNCHPAD["mcr_channel"].(string), "stable-25.0")
173173
mkeClusterConfig = strings.ReplaceAll(mkeClusterConfig, LAUNCHPAD["mke_version"].(string), "3.8.8")
174174
mkeClusterConfig = strings.ReplaceAll(mkeClusterConfig, LAUNCHPAD["msr_version"].(string), "2.9.28")
175175

0 commit comments

Comments
 (0)