From 264e4beac3e1c3886d44a7dd1169b695e502a5ce Mon Sep 17 00:00:00 2001 From: Malte Poll Date: Tue, 9 Aug 2022 14:48:41 +0200 Subject: [PATCH] Double timeouts for envtests (#355) --- .../controllers/autoscalingstrategy_controller_env_test.go | 2 +- .../controllers/nodeimage_controller_env_test.go | 2 +- .../controllers/pendingnode_controller_env_test.go | 2 +- .../controllers/scalinggroup_controller_env_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/operators/constellation-node-operator/controllers/autoscalingstrategy_controller_env_test.go b/operators/constellation-node-operator/controllers/autoscalingstrategy_controller_env_test.go index 569647b07..5287e4cb2 100644 --- a/operators/constellation-node-operator/controllers/autoscalingstrategy_controller_env_test.go +++ b/operators/constellation-node-operator/controllers/autoscalingstrategy_controller_env_test.go @@ -24,7 +24,7 @@ var _ = Describe("AutoscalingStrategy controller", func() { ClusterAutoscalerDeploymentNamespace = "kube-system" AutoscalingStrategyName = "test-strategy" - timeout = time.Second * 10 + timeout = time.Second * 20 duration = time.Second * 2 interval = time.Millisecond * 250 ) diff --git a/operators/constellation-node-operator/controllers/nodeimage_controller_env_test.go b/operators/constellation-node-operator/controllers/nodeimage_controller_env_test.go index ae6f1663b..f170a9077 100644 --- a/operators/constellation-node-operator/controllers/nodeimage_controller_env_test.go +++ b/operators/constellation-node-operator/controllers/nodeimage_controller_env_test.go @@ -28,7 +28,7 @@ var _ = Describe("NodeImage controller", func() { secondImage = "image-2" scalingGroupID = "scaling-group" - timeout = time.Second * 10 + timeout = time.Second * 20 duration = time.Second * 2 interval = time.Millisecond * 250 ) diff --git a/operators/constellation-node-operator/controllers/pendingnode_controller_env_test.go b/operators/constellation-node-operator/controllers/pendingnode_controller_env_test.go index c3b769187..8965bde01 100644 --- a/operators/constellation-node-operator/controllers/pendingnode_controller_env_test.go +++ b/operators/constellation-node-operator/controllers/pendingnode_controller_env_test.go @@ -23,7 +23,7 @@ var _ = Describe("PendingNode controller", func() { const ( pendingNodeName = "pending-node" - timeout = time.Second * 10 + timeout = time.Second * 20 duration = time.Second * 2 interval = time.Millisecond * 250 ) diff --git a/operators/constellation-node-operator/controllers/scalinggroup_controller_env_test.go b/operators/constellation-node-operator/controllers/scalinggroup_controller_env_test.go index 8520de76a..0b440ea63 100644 --- a/operators/constellation-node-operator/controllers/scalinggroup_controller_env_test.go +++ b/operators/constellation-node-operator/controllers/scalinggroup_controller_env_test.go @@ -21,7 +21,7 @@ var _ = Describe("ScalingGroup controller", func() { nodeImageName = "node-image" scalingGroupName = "test-group" - timeout = time.Second * 10 + timeout = time.Second * 20 duration = time.Second * 2 interval = time.Millisecond * 250 )