diff --git a/.ci/magician/cmd/test_terraform_vcr_test.go b/.ci/magician/cmd/test_terraform_vcr_test.go index 773c28c7e2ef..604ec2feb06c 100644 --- a/.ci/magician/cmd/test_terraform_vcr_test.go +++ b/.ci/magician/cmd/test_terraform_vcr_test.go @@ -237,7 +237,7 @@ func TestAnalyticsComment(t *testing.T) { want: strings.Join( []string{ "#### Tests analytics", - "Total tests: 7", + "Total tests: 6", "Passed tests: 3", "Skipped tests: 2", "Affected tests: 1", @@ -268,7 +268,7 @@ func TestAnalyticsComment(t *testing.T) { want: strings.Join( []string{ "#### Tests analytics", - "Total tests: 7", + "Total tests: 6", "Passed tests: 3", "Skipped tests: 2", "Affected tests: 1", @@ -302,7 +302,7 @@ func TestAnalyticsComment(t *testing.T) { }, want: strings.Join([]string{ "#### Tests analytics", - "Total tests: 7", + "Total tests: 6", "Passed tests: 3", "Skipped tests: 2", "Affected tests: 1", diff --git a/.ci/magician/cmd/test_terraform_vcr_test_analytics.tmpl b/.ci/magician/cmd/test_terraform_vcr_test_analytics.tmpl index 391c07d05213..9c4006541946 100644 --- a/.ci/magician/cmd/test_terraform_vcr_test_analytics.tmpl +++ b/.ci/magician/cmd/test_terraform_vcr_test_analytics.tmpl @@ -1,5 +1,5 @@ #### Tests analytics -Total tests: {{add (add (len .ReplayingResult.PassedTests) (len .ReplayingResult.PassedTests)) (len .ReplayingResult.FailedTests) }} +Total tests: {{add (add (len .ReplayingResult.PassedTests) (len .ReplayingResult.SkippedTests)) (len .ReplayingResult.FailedTests) }} Passed tests: {{len .ReplayingResult.PassedTests}} Skipped tests: {{len .ReplayingResult.SkippedTests}} Affected tests: {{len .ReplayingResult.FailedTests}}