Skip to content

Commit b117174

Browse files
committed
Reenable skew test for 1.32/master
Signed-off-by: Derek Nola <[email protected]>
1 parent bed1f66 commit b117174

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

tests/docker/skew/skew_test.go

+5-14
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,11 @@ var _ = BeforeSuite(func() {
3232
// For master and unreleased branches, we want the latest stable release
3333
var upgradeChannel string
3434
var err error
35-
if *channel == "latest" || *channel == "v1.32" {
36-
// disabled: AuthorizeNodeWithSelectors is now on by default, which breaks compat with agents < v1.32.
37-
// This can be ren-enabled once the previous branch is v1.32 or higher, or when RBAC changes have been backported.
38-
// ref: https://github.com/kubernetes/kubernetes/pull/128168
39-
Skip("Skipping version skew tests for " + *channel + " due to AuthorizeNodeWithSelectors")
40-
41-
upgradeChannel = "stable"
42-
} else {
43-
// We want to substract one from the minor version to get the previous release
44-
sV, err := semver.ParseTolerant(*channel)
45-
Expect(err).NotTo(HaveOccurred(), "failed to parse version from "+*channel)
46-
sV.Minor--
47-
upgradeChannel = fmt.Sprintf("v%d.%d", sV.Major, sV.Minor)
48-
}
35+
// We want to substract one from the minor version to get the previous release
36+
sV, err := semver.ParseTolerant(*channel)
37+
Expect(err).NotTo(HaveOccurred(), "failed to parse version from "+*channel)
38+
sV.Minor--
39+
upgradeChannel = fmt.Sprintf("v%d.%d", sV.Major, sV.Minor)
4940

5041
lastMinorVersion, err = tester.GetVersionFromChannel(upgradeChannel)
5142
Expect(err).NotTo(HaveOccurred())

0 commit comments

Comments
 (0)