From 675f45e9b4b93cc3a0b2f215bd9e305f307ac288 Mon Sep 17 00:00:00 2001 From: gmarek Date: Tue, 1 Mar 2016 16:23:17 +0100 Subject: [PATCH] Wait for namespace deletion in SchedulerPredicates --- test/e2e/scheduler_predicates.go | 3 +++ 1 file changed, 3 insertions(+) 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.