From ba8a67e55458df3e9fa76d170e456e482be0dcce Mon Sep 17 00:00:00 2001 From: gmarek Date: Mon, 29 Feb 2016 12:17:18 +0100 Subject: [PATCH] DeamonSet test expect daemons on unschedulable Nodes --- test/e2e/daemon_set.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/daemon_set.go b/test/e2e/daemon_set.go index c79af5c0686..fa851224e9c 100644 --- a/test/e2e/daemon_set.go +++ b/test/e2e/daemon_set.go @@ -289,7 +289,8 @@ func checkDaemonPodOnNodes(f *Framework, selector map[string]string, nodeNames [ func checkRunningOnAllNodes(f *Framework, selector map[string]string) func() (bool, error) { return func() (bool, error) { - nodeList := ListSchedulableNodesOrDie(f.Client) + nodeList, err := f.Client.Nodes().List(api.ListOptions{}) + expectNoError(err) nodeNames := make([]string, 0) for _, node := range nodeList.Items { nodeNames = append(nodeNames, node.Name)