Skip to content

Commit 6f89eb9

Browse files
committed
UPSTREAM: 131852: test/e2e/apimachinery/namespace.go: make OrderedNamespaceDeletion test serial
1 parent 0c5ef29 commit 6f89eb9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/e2e/apimachinery/namespace.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ import (
2020
"context"
2121
"encoding/json"
2222
"fmt"
23-
"k8s.io/kubernetes/pkg/features"
2423
"strings"
2524
"sync"
2625
"time"
2726

27+
"k8s.io/kubernetes/pkg/features"
28+
2829
v1 "k8s.io/api/core/v1"
2930
apierrors "k8s.io/apimachinery/pkg/api/errors"
3031
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -481,7 +482,7 @@ var _ = SIGDescribe("OrderedNamespaceDeletion", func() {
481482
f := framework.NewDefaultFramework("namespacedeletion")
482483
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline
483484

484-
f.It("namespace deletion should delete pod first", feature.OrderedNamespaceDeletion, framework.WithFeatureGate(features.OrderedNamespaceDeletion), func(ctx context.Context) {
485+
f.It("namespace deletion should delete pod first", feature.OrderedNamespaceDeletion, framework.WithFeatureGate(features.OrderedNamespaceDeletion), framework.WithSerial(), func(ctx context.Context) {
485486
ensurePodsAreRemovedFirstInOrderedNamespaceDeletion(ctx, f)
486487
})
487488
})

0 commit comments

Comments
 (0)