Skip to content

Commit 3319cb0

Browse files
Display the randomly chosen upgrade abort percentage
Was printing -1 instead of what the actual value is.
1 parent 0a22c55 commit 3319cb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/upgrade/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func clusterUpgrade(c configv1client.Interface, dc dynamic.Interface, config *re
386386
case upgradeAbortAtRandom:
387387
abortAt = int(rand.Int31n(100) + 1)
388388
maximumDuration *= 2
389-
framework.Logf("Upgrade will be aborted and the cluster will roll back to the current version after %d%% of operators have upgraded (chosen randomly)", upgradeAbortAt)
389+
framework.Logf("Upgrade will be aborted and the cluster will roll back to the current version after %d%% of operators have upgraded (picked randomly)", abortAt)
390390
default:
391391
maximumDuration *= 2
392392
framework.Logf("Upgrade will be aborted and the cluster will roll back to the current version after %d%% of operators have upgraded", upgradeAbortAt)

0 commit comments

Comments
 (0)