From 756fbc58f96b490390963c1b5db268faccb9d3d2 Mon Sep 17 00:00:00 2001 From: Max Cao Date: Tue, 12 May 2026 15:07:53 -0700 Subject: [PATCH] fix(e2e): remove TechPreviewNoUpgrade gate from karpenter upgrade test AutoNode/Karpenter is no longer behind TechPreviewNoUpgrade in 5.0, so the TECH_PREVIEW_NO_UPGRADE env check is stale and causes the test to be skipped unconditionally in non-techpreview CI jobs. Also bump the minimum version gate from 4.19 to 4.22 since this is a 5.0 feature. Co-authored-by: Cursor --- test/e2e/karpenter_control_plane_upgrade_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/e2e/karpenter_control_plane_upgrade_test.go b/test/e2e/karpenter_control_plane_upgrade_test.go index 1915f1e36bf6..a5fb2d55a885 100644 --- a/test/e2e/karpenter_control_plane_upgrade_test.go +++ b/test/e2e/karpenter_control_plane_upgrade_test.go @@ -22,10 +22,7 @@ import ( ) func TestKarpenterUpgradeControlPlane(t *testing.T) { - e2eutil.AtLeast(t, e2eutil.Version419) - if os.Getenv("TECH_PREVIEW_NO_UPGRADE") != "true" { - t.Skipf("Only tested when CI sets TECH_PREVIEW_NO_UPGRADE=true and the Hypershift Operator is installed with --tech-preview-no-upgrade") - } + e2eutil.AtLeast(t, e2eutil.Version422) if globalOpts.Platform != hyperv1.AWSPlatform { t.Skip("test only supported on platform AWS") }