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

@@ -529,6 +529,7 @@ var _ = Describe("Kubectl client", func() {
checkOutput(output, requiredStrings)
// Node
// It should be OK to list unschedulable Nodes here.
nodes, err := c.Nodes().List(api.ListOptions{})
Expect(err).NotTo(HaveOccurred())
node := nodes.Items[0]