diff --git a/test/e2e/apimachinery/resource_quota.go b/test/e2e/apimachinery/resource_quota.go index b4826f3e017..ab57d932201 100644 --- a/test/e2e/apimachinery/resource_quota.go +++ b/test/e2e/apimachinery/resource_quota.go @@ -1502,6 +1502,11 @@ func newTestPodForQuota(f *framework.Framework, name string, requests v1.Resourc Name: name, }, Spec: v1.PodSpec{ + // prevent disruption to other test workloads in parallel test runs by ensuring the quota + // test pods don't get scheduled onto a node + NodeSelector: map[string]string{ + "x-test.k8s.io/unsatisfiable": "not-schedulable", + }, Containers: []v1.Container{ { Name: "pause", @@ -1523,6 +1528,11 @@ func newTestPodForQuotaWithPriority(f *framework.Framework, name string, request Name: name, }, Spec: v1.PodSpec{ + // prevent disruption to other test workloads in parallel test runs by ensuring the quota + // test pods don't get scheduled onto a node + NodeSelector: map[string]string{ + "x-test.k8s.io/unsatisfiable": "not-schedulable", + }, Containers: []v1.Container{ { Name: "pause",