From 5d051efc304c604276af848c807e4a391ad0cbc8 Mon Sep 17 00:00:00 2001 From: Aleksandra Malinowska Date: Thu, 2 Aug 2018 12:01:52 +0200 Subject: [PATCH] Run expendable pods tests on GKE --- test/e2e/autoscaling/cluster_size_autoscaling.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/e2e/autoscaling/cluster_size_autoscaling.go b/test/e2e/autoscaling/cluster_size_autoscaling.go index 896a7d7d6cc..48afe1025cb 100644 --- a/test/e2e/autoscaling/cluster_size_autoscaling.go +++ b/test/e2e/autoscaling/cluster_size_autoscaling.go @@ -906,8 +906,6 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { }) It("shouldn't scale up when expendable pod is created [Feature:ClusterSizeAutoscalingScaleUp]", func() { - // TODO(krzysztof_jastrzebski): Start running this test on GKE when Pod Priority and Preemption is in beta. - framework.SkipUnlessProviderIs("gce") defer createPriorityClasses(f)() // Create nodesCountAfterResize+1 pods allocating 0.7 allocatable on present nodes. One more node will have to be created. cleanupFunc := ReserveMemoryWithPriority(f, "memory-reservation", nodeCount+1, int(float64(nodeCount+1)*float64(0.7)*float64(memAllocatableMb)), false, time.Second, expendablePriorityClassName) @@ -920,8 +918,6 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { }) It("should scale up when non expendable pod is created [Feature:ClusterSizeAutoscalingScaleUp]", func() { - // TODO(krzysztof_jastrzebski): Start running this test on GKE when Pod Priority and Preemption is in beta. - framework.SkipUnlessProviderIs("gce") defer createPriorityClasses(f)() // Create nodesCountAfterResize+1 pods allocating 0.7 allocatable on present nodes. One more node will have to be created. cleanupFunc := ReserveMemoryWithPriority(f, "memory-reservation", nodeCount+1, int(float64(nodeCount+1)*float64(0.7)*float64(memAllocatableMb)), true, scaleUpTimeout, highPriorityClassName) @@ -932,8 +928,6 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { }) It("shouldn't scale up when expendable pod is preempted [Feature:ClusterSizeAutoscalingScaleUp]", func() { - // TODO(krzysztof_jastrzebski): Start running this test on GKE when Pod Priority and Preemption is in beta. - framework.SkipUnlessProviderIs("gce") defer createPriorityClasses(f)() // Create nodesCountAfterResize pods allocating 0.7 allocatable on present nodes - one pod per node. cleanupFunc1 := ReserveMemoryWithPriority(f, "memory-reservation1", nodeCount, int(float64(nodeCount)*float64(0.7)*float64(memAllocatableMb)), true, defaultTimeout, expendablePriorityClassName) @@ -946,8 +940,6 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { }) It("should scale down when expendable pod is running [Feature:ClusterSizeAutoscalingScaleDown]", func() { - // TODO(krzysztof_jastrzebski): Start running this test on GKE when Pod Priority and Preemption is in beta. - framework.SkipUnlessProviderIs("gce") defer createPriorityClasses(f)() increasedSize := manuallyIncreaseClusterSize(f, originalSizes) // Create increasedSize pods allocating 0.7 allocatable on present nodes - one pod per node. @@ -959,8 +951,6 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() { }) It("shouldn't scale down when non expendable pod is running [Feature:ClusterSizeAutoscalingScaleDown]", func() { - // TODO(krzysztof_jastrzebski): Start running this test on GKE when Pod Priority and Preemption is in beta. - framework.SkipUnlessProviderIs("gce") defer createPriorityClasses(f)() increasedSize := manuallyIncreaseClusterSize(f, originalSizes) // Create increasedSize pods allocating 0.7 allocatable on present nodes - one pod per node.