Commit 6d6611cf authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #47523 from MaciekPytel/fix_autoscaler_flaky_e2e

Automatic merge from submit-queue Fix flaking cluster-autoscaler e2e Ref: https://github.com/kubernetes/autoscaler/issues/89 Scale-down e2e require 5 healthy nodes to pass reliably, this PR should fix the flaking "should correctly scale down after a node is not needed and one node is broken" e2e.
parents 1ecb40c7 af345688
......@@ -350,8 +350,8 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() {
increasedSize := 0
newSizes := make(map[string]int)
for key, val := range originalSizes {
newSizes[key] = val + 2
increasedSize += val + 2
newSizes[key] = val + 2 + unready
increasedSize += val + 2 + unready
}
setMigSizes(newSizes)
framework.ExpectNoError(WaitForClusterSizeFuncWithUnready(f.ClientSet,
......
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