Wait for namespace deletion in SchedulerPredicates

This commit is contained in:
gmarek 2016-03-01 16:23:17 +01:00
parent 9e5d1b61fa
commit 675f45e9b4

View File

@ -157,6 +157,9 @@ var _ = Describe("SchedulerPredicates [Serial]", func() {
ns = framework.Namespace.Name ns = framework.Namespace.Name
nodeList = ListSchedulableNodesOrDie(c) nodeList = ListSchedulableNodesOrDie(c)
err := checkTestingNSDeletedExcept(c, ns)
expectNoError(err)
// Every test case in this suite assumes that cluster add-on pods stay stable and // 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. // 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. // It is so because we need to have precise control on what's running in the cluster.