Commit 799ab448 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17897 from jayunit100/Unschedulable

Auto commit by PR queue bot
parents f54745fb 83898644
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment