Update e2e tests to list only schedulable nodes, to make them work with master Node registered.

This commit is contained in:
gmarek
2015-12-10 15:35:58 +01:00
parent 775369a8f1
commit f38455ddc3
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)