Merge pull request #18509 from gmarek/fix-e2e-pd

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-12-17 02:06:23 -08:00
26 changed files with 67 additions and 101 deletions

View File

@@ -64,8 +64,7 @@ var _ = Describe("Mesos", func() {
client := framework.Client
expectNoError(allNodesReady(client, util.ForeverTestTimeout), "all nodes ready")
nodelist, err := client.Nodes().List(api.ListOptions{})
expectNoError(err, "nodes fetched from apiserver")
nodelist := ListSchedulableNodesOrDie(framework.Client)
const ns = "static-pods"
numpods := len(nodelist.Items)