Skip to content

Commit

Permalink
Merge pull request kubernetes#17897 from jayunit100/Unschedulable
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Nov 28, 2015
2 parents f54745f + 8389864 commit 799ab44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/networking.go
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ var _ = Describe("Networking", func() {
// previous tests may have cause failures of some nodes. Let's skip
// 'Not Ready' nodes, just in case (there is no need to fail the test).
filterNodes(nodes, func(node api.Node) bool {
return isNodeConditionSetAsExpected(&node, api.NodeReady, true)
return !node.Spec.Unschedulable && isNodeConditionSetAsExpected(&node, api.NodeReady, true)
})

if len(nodes.Items) == 0 {

0 comments on commit 799ab44

Please sign in to comment.