diff --git a/test/e2e/scheduler_predicates.go b/test/e2e/scheduler_predicates.go index cfcdf5d7174..a42377ee1f9 100644 --- a/test/e2e/scheduler_predicates.go +++ b/test/e2e/scheduler_predicates.go @@ -157,6 +157,9 @@ var _ = Describe("SchedulerPredicates [Serial]", func() { ns = framework.Namespace.Name nodeList = ListSchedulableNodesOrDie(c) + err := checkTestingNSDeletedExcept(c, ns) + expectNoError(err) + // Every test case in this suite assumes that cluster add-on pods stay stable and // cannot be run in parallel with any other test that touches Nodes or Pods. // It is so because we need to have precise control on what's running in the cluster.