From ad092ecaa65826497fbbe65088626001495358b9 Mon Sep 17 00:00:00 2001 From: Alexey Kazakov Date: Tue, 28 Nov 2023 12:02:37 -0800 Subject: [PATCH] Revert "Temporarily extend deactivation (#937)" (#940) This reverts commit 570a452ee11f72f04fbf854179353e9698ad3e60. --- deploy/templates/usertiers/deactivate30/tier.yaml | 2 +- pkg/templates/usertiers/usertier_generator_whitebox_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/templates/usertiers/deactivate30/tier.yaml b/deploy/templates/usertiers/deactivate30/tier.yaml index 5db9b1995..be04ba975 100644 --- a/deploy/templates/usertiers/deactivate30/tier.yaml +++ b/deploy/templates/usertiers/deactivate30/tier.yaml @@ -13,4 +13,4 @@ objects: parameters: - name: NAMESPACE - name: DEACTIVATION_TIMEOUT_DAYS - value: "100" + value: "30" diff --git a/pkg/templates/usertiers/usertier_generator_whitebox_test.go b/pkg/templates/usertiers/usertier_generator_whitebox_test.go index 1155f6618..7207ceadd 100644 --- a/pkg/templates/usertiers/usertier_generator_whitebox_test.go +++ b/pkg/templates/usertiers/usertier_generator_whitebox_test.go @@ -181,7 +181,7 @@ func TestNewUserTier(t *testing.T) { case "nodeactivation": assert.Equal(t, 0, tier.Spec.DeactivationTimeoutDays) case "deactivate30": - assert.Equal(t, 100, tier.Spec.DeactivationTimeoutDays) + assert.Equal(t, 30, tier.Spec.DeactivationTimeoutDays) case "deactivate80": assert.Equal(t, 80, tier.Spec.DeactivationTimeoutDays) case "deactivate90":