From fe7add6c19ee6cc0df2372177449042a9b53b0a9 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Ferrero Date: Wed, 25 Sep 2024 08:50:48 +0200 Subject: [PATCH] fix: Initial delay e2e test use a scaler without failures (#6185) Signed-off-by: Jorge Turrado --- .../initial_delay_cooldownperiod_test.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/internals/initial_delay_cooldownperiod/initial_delay_cooldownperiod_test.go b/tests/internals/initial_delay_cooldownperiod/initial_delay_cooldownperiod_test.go index bfc7f307b95..e70999ce996 100644 --- a/tests/internals/initial_delay_cooldownperiod/initial_delay_cooldownperiod_test.go +++ b/tests/internals/initial_delay_cooldownperiod/initial_delay_cooldownperiod_test.go @@ -78,13 +78,10 @@ spec: scaleDown: stabilizationWindowSeconds: 15 triggers: - - type: cron + - type: kubernetes-workload metadata: - timezone: Etc/UTC - start: {{.StartMin}} * * * * - end: {{.EndMin}} * * * * - desiredReplicas: '0' -` + podSelector: 'pod=no-matches' + value: '1'` ) func TestScaler(t *testing.T) {