Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maci3jka committed Nov 1, 2024
1 parent 4d128f3 commit ff5e3e8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkg/upgrade/inplace/inplace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func TestIsUpgraded(t *testing.T) {
}{
{
name: "notUpgraded",
annotations: map[string]string{bootstrapv1.InPlaceUpgradeReleaseAnnotation: "v1.30"},
releaseString: "v1.29",
annotations: map[string]string{bootstrapv1.InPlaceUpgradeReleaseAnnotation: "v1.29"},
releaseString: "v1.30",
isUpgraded: false,
},
{
Expand Down Expand Up @@ -71,6 +71,13 @@ func TestGetUpgradeInstructions(t *testing.T) {
},
upgradeTo: "v1.30",
},
{
name: "InPlaceUpgradeToAnnotationOnly",
annotations: map[string]string{
bootstrapv1.InPlaceUpgradeToAnnotation: "v1.30",
},
upgradeTo: "v1.30",
},
{
name: "InPlaceUpgradeToAnnotation",
annotations: map[string]string{
Expand Down

0 comments on commit ff5e3e8

Please # to comment.