Consolidate node selecting tests to only use Schedulable + Running

nodes.
This commit is contained in:
Jay Vyas
2016-05-05 16:56:25 -04:00
parent 32256d53aa
commit 326b213231
21 changed files with 44 additions and 51 deletions

View File

@@ -65,7 +65,7 @@ var _ = framework.KubeDescribe("Mesos", func() {
client := f.Client
framework.ExpectNoError(framework.AllNodesReady(client, wait.ForeverTestTimeout), "all nodes ready")
nodelist := framework.ListSchedulableNodesOrDie(f.Client)
nodelist := framework.GetReadySchedulableNodesOrDie(f.Client)
const ns = "static-pods"
numpods := int32(len(nodelist.Items))