From 76cd9742d273b99b96d1d4a45e31e368312199cc Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sat, 16 Sep 2023 11:04:35 +0800 Subject: [PATCH] fix tests Signed-off-by: yxxhero --- pkg/app/app_sync_test.go | 8 +++----- ...lude-needs_should_not_fail_on_disabled_transitive_need | 2 +- ...ansitive-needs_should_not_fail_on_disabled_direct_need | 2 +- ...tive-needs_should_not_fail_on_disabled_transitive_need | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pkg/app/app_sync_test.go b/pkg/app/app_sync_test.go index d2af2654..51c0ec01 100644 --- a/pkg/app/app_sync_test.go +++ b/pkg/app/app_sync_test.go @@ -253,13 +253,11 @@ Affected releases are: external-secrets (incubator/raw) UPDATED my-release (incubator/raw) UPDATED -processing 2 groups of releases in this order: +processing 1 groups of releases in this order: GROUP RELEASES -1 default/default/external-secrets -2 default/default/my-release +1 default/default/external-secrets, default/default/my-release -processing releases in group 1/2: default/default/external-secrets -processing releases in group 2/2: default/default/my-release +processing releases in group 1/1: default/default/external-secrets, default/default/my-release UPDATED RELEASES: NAME CHART VERSION DURATION diff --git a/pkg/app/testdata/app_lint_test/include-needs_should_not_fail_on_disabled_transitive_need b/pkg/app/testdata/app_lint_test/include-needs_should_not_fail_on_disabled_transitive_need index f83877d9..629e3407 100644 --- a/pkg/app/testdata/app_lint_test/include-needs_should_not_fail_on_disabled_transitive_need +++ b/pkg/app/testdata/app_lint_test/include-needs_should_not_fail_on_disabled_transitive_need @@ -102,7 +102,7 @@ second-pass rendering result of "helmfile.yaml.part.0": 44: merged environment: &{default map[] map[]} -1 release(s) matching name=test3 found in helmfile.yaml +3 release(s) matching name=test3 found in helmfile.yaml processing 3 groups of releases in this order: GROUP RELEASES diff --git a/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_direct_need b/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_direct_need index 3b894090..930437a8 100644 --- a/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_direct_need +++ b/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_direct_need @@ -102,7 +102,7 @@ second-pass rendering result of "helmfile.yaml.part.0": 44: merged environment: &{default map[] map[]} -1 release(s) matching name=test2 found in helmfile.yaml +2 release(s) matching name=test2 found in helmfile.yaml processing 2 groups of releases in this order: GROUP RELEASES diff --git a/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_transitive_need b/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_transitive_need index f83877d9..629e3407 100644 --- a/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_transitive_need +++ b/pkg/app/testdata/app_lint_test/include-needs_with_include-transitive-needs_should_not_fail_on_disabled_transitive_need @@ -102,7 +102,7 @@ second-pass rendering result of "helmfile.yaml.part.0": 44: merged environment: &{default map[] map[]} -1 release(s) matching name=test3 found in helmfile.yaml +3 release(s) matching name=test3 found in helmfile.yaml processing 3 groups of releases in this order: GROUP RELEASES