Skip to content

Commit

Permalink
ci: Attempt older version upgrades twice to work around flake with th…
Browse files Browse the repository at this point in the history
…e docker controller
  • Loading branch information
cprivitere committed Feb 4, 2025
1 parent 8291cd7 commit 3cd1d90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/clusterctl_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ var (
providerDockerPrefix = "docker:v%s"
)

var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.5=>current)", func() {
// Note: This test should not be changed during "prepare main branch".
var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.5=>current)", FlakeAttempts(2), func() {
// We are testing v0.3=>v1.5=>current to ensure that old entries with v1alpha3 in managed files do not cause issues
// as described in https://github.com/kubernetes-sigs/cluster-api/issues/10051.
// NOTE: The combination of v0.3=>v1.5=>current allows us to verify this without being forced to upgrade
Expand Down Expand Up @@ -114,7 +115,8 @@ var _ = Describe("When testing clusterctl upgrades (v0.3=>v1.5=>current)", func(
})
})

var _ = Describe("When testing clusterctl upgrades (v0.4=>v1.6=>current)", func() {
// Note: This test should not be changed during "prepare main branch".
var _ = Describe("When testing clusterctl upgrades (v0.4=>v1.6=>current)", FlakeAttempts(2), func() {
// We are testing v0.4=>v1.6=>current to ensure that old entries with v1alpha4 in managed files do not cause issues
// as described in https://github.com/kubernetes-sigs/cluster-api/issues/10051.
// NOTE: The combination of v0.4=>v1.6=>current allows us to verify this without being forced to upgrade
Expand Down

0 comments on commit 3cd1d90

Please sign in to comment.