From bf17c3c61ba37905eed4e03c46652c42311457b9 Mon Sep 17 00:00:00 2001 From: Adam Korczynski Date: Tue, 5 Dec 2023 11:36:10 +0000 Subject: [PATCH] debug failing integration test Signed-off-by: Adam Korczynski --- checks/evaluation/ci_tests.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checks/evaluation/ci_tests.go b/checks/evaluation/ci_tests.go index 5a27275ba03c..58dcd3faace3 100644 --- a/checks/evaluation/ci_tests.go +++ b/checks/evaluation/ci_tests.go @@ -37,7 +37,7 @@ func CITests(name string, return checker.CreateRuntimeErrorResult(name, e) } - // check whether there are any negative findings + // check that the project has pull requests if noPullRequestsFound(findings) { return checker.CreateInconclusiveResult(CheckCITests, "no pull request found") } @@ -46,7 +46,7 @@ func CITests(name string, totalTested := findings[0].Values["totalTested"] if totalMerged < totalTested || len(findings) != totalTested { - e := sce.WithMessage(sce.ErrScorecardInternal, "invalid probe results") + e := sce.WithMessage(sce.ErrScorecardInternal, "invalid finding values") return checker.CreateRuntimeErrorResult(name, e) }