From 96cf6079d1618c7e62f7c5dc310444bf1727c215 Mon Sep 17 00:00:00 2001 From: Maciej Pytel Date: Fri, 14 Apr 2017 16:39:47 +0200 Subject: [PATCH] Fix failing cluster-autoscaler e2e --- test/e2e/autoscaling/cluster_size_autoscaling.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/autoscaling/cluster_size_autoscaling.go b/test/e2e/autoscaling/cluster_size_autoscaling.go index f6fba8a423a..ed9e9b0aba3 100644 --- a/test/e2e/autoscaling/cluster_size_autoscaling.go +++ b/test/e2e/autoscaling/cluster_size_autoscaling.go @@ -351,12 +351,12 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() { increasedSize += val + 2 } setMigSizes(newSizes) - framework.ExpectNoError(WaitForClusterSizeFunc(f.ClientSet, - func(size int) bool { return size >= increasedSize }, scaleUpTimeout), unready) + framework.ExpectNoError(WaitForClusterSizeFuncWithUnready(f.ClientSet, + func(size int) bool { return size >= increasedSize }, scaleUpTimeout, unready)) By("Some node should be removed") - framework.ExpectNoError(WaitForClusterSizeFunc(f.ClientSet, - func(size int) bool { return size < increasedSize }, scaleDownTimeout), unready) + framework.ExpectNoError(WaitForClusterSizeFuncWithUnready(f.ClientSet, + func(size int) bool { return size < increasedSize }, scaleDownTimeout, unready)) } It("should correctly scale down after a node is not needed [Feature:ClusterSizeAutoscalingScaleDown]",