mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #10739 from wojtek-t/fix_proxy_logs
Fix "Proxy version v1 should proxy logs on node *" test failures
This commit is contained in:
commit
28575a65f4
@ -124,6 +124,11 @@ func waitForClusterSize(c *client.Client, size int) error {
|
||||
Logf("Failed to list nodes: %v", err)
|
||||
continue
|
||||
}
|
||||
// Filter out not-ready nodes.
|
||||
filterNodes(nodes, func(node api.Node) bool {
|
||||
return isNodeReadySetAsExpected(&node, true)
|
||||
})
|
||||
|
||||
if len(nodes.Items) == size {
|
||||
Logf("Cluster has reached the desired size %d", size)
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user