Skip to content

Commit 4bbc6f1

Browse files
committed
Move pod_resize tests out of alpha
1 parent 479b300 commit 4bbc6f1

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

test/e2e/common/node/pod_resize.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"k8s.io/apimachinery/pkg/api/resource"
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/apimachinery/pkg/types"
28-
"k8s.io/kubernetes/test/e2e/feature"
2928
"k8s.io/kubernetes/test/e2e/framework"
3029
e2enode "k8s.io/kubernetes/test/e2e/framework/node"
3130
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
@@ -1060,7 +1059,7 @@ func doPodResizeErrorTests(f *framework.Framework) {
10601059
// Above tests are performed by doSheduletTests() and doPodResizeResourceQuotaTests()
10611060
// in test/e2e/node/pod_resize.go
10621061

1063-
var _ = SIGDescribe("Pod InPlace Resize Container", framework.WithSerial(), feature.InPlacePodVerticalScaling, "[NodeAlphaFeature:InPlacePodVerticalScaling]", func() {
1062+
var _ = SIGDescribe("Pod InPlace Resize Container", framework.WithSerial(), func() {
10641063
f := framework.NewDefaultFramework("pod-resize-tests")
10651064

10661065
ginkgo.BeforeEach(func(ctx context.Context) {

test/e2e/feature/feature.go

-3
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ var (
186186
// Ingress.networking.k8s.io to be present.
187187
Ingress = framework.WithFeature(framework.ValidFeatures.Add("Ingress"))
188188

189-
// TODO: document the feature (owning SIG, when to use this feature for a test)
190-
InPlacePodVerticalScaling = framework.WithFeature(framework.ValidFeatures.Add("InPlacePodVerticalScaling"))
191-
192189
// Owner: sig-network
193190
// Marks tests that require a cluster with dual-stack pod and service networks.
194191
IPv6DualStack = framework.WithFeature(framework.ValidFeatures.Add("IPv6DualStack"))

test/e2e/node/pod_resize.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2828
"k8s.io/apimachinery/pkg/types"
2929
resourceapi "k8s.io/kubernetes/pkg/api/v1/resource"
30-
"k8s.io/kubernetes/test/e2e/feature"
3130
"k8s.io/kubernetes/test/e2e/framework"
3231
e2enode "k8s.io/kubernetes/test/e2e/framework/node"
3332
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
@@ -356,7 +355,7 @@ func doPodResizeSchedulerTests(f *framework.Framework) {
356355
})
357356
}
358357

359-
var _ = SIGDescribe(framework.WithSerial(), "Pod InPlace Resize Container (scheduler-focused)", feature.InPlacePodVerticalScaling, func() {
358+
var _ = SIGDescribe(framework.WithSerial(), "Pod InPlace Resize Container (scheduler-focused)", func() {
360359
f := framework.NewDefaultFramework("pod-resize-scheduler-tests")
361360
ginkgo.BeforeEach(func(ctx context.Context) {
362361
node, err := e2enode.GetRandomReadySchedulableNode(ctx, f.ClientSet)
@@ -368,7 +367,7 @@ var _ = SIGDescribe(framework.WithSerial(), "Pod InPlace Resize Container (sched
368367
doPodResizeSchedulerTests(f)
369368
})
370369

371-
var _ = SIGDescribe("Pod InPlace Resize Container", feature.InPlacePodVerticalScaling, func() {
370+
var _ = SIGDescribe("Pod InPlace Resize Container", func() {
372371
f := framework.NewDefaultFramework("pod-resize-tests")
373372

374373
ginkgo.BeforeEach(func(ctx context.Context) {

0 commit comments

Comments
 (0)