Skip to content

Commit 98e8910

Browse files
committed
e2e: drop v1.24 skip for runtime sdk test
1 parent f6aec64 commit 98e8910

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/e2e/cluster_upgrade_runtimesdk_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ limitations under the License.
2020
package e2e
2121

2222
import (
23-
"github.com/blang/semver/v4"
2423
. "github.com/onsi/ginkgo/v2"
25-
. "github.com/onsi/gomega"
2624
"k8s.io/utils/ptr"
2725

2826
clusterctlcluster "sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster"
@@ -31,12 +29,6 @@ import (
3129

3230
var _ = Describe("When upgrading a workload cluster using ClusterClass with RuntimeSDK [ClusterClass]", Label("ClusterClass"), func() {
3331
ClusterUpgradeWithRuntimeSDKSpec(ctx, func() ClusterUpgradeWithRuntimeSDKSpecInput {
34-
version, err := semver.ParseTolerant(e2eConfig.MustGetVariable(KubernetesVersionUpgradeFrom))
35-
Expect(err).ToNot(HaveOccurred(), "Invalid argument, KUBERNETES_VERSION_UPGRADE_FROM is not a valid version")
36-
if version.LT(semver.MustParse("1.24.0")) {
37-
Fail("This test only supports upgrades from Kubernetes >= v1.24.0")
38-
}
39-
4032
return ClusterUpgradeWithRuntimeSDKSpecInput{
4133
E2EConfig: e2eConfig,
4234
ClusterctlConfigPath: clusterctlConfigPath,

0 commit comments

Comments
 (0)