Skip to content

Commit 7b84fe8

Browse files
committed
comments
1 parent 702bcea commit 7b84fe8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

commands/audit/audit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ func ProcessResultsAndOutput(auditResults *results.SecurityCommandResults, outpu
222222
return
223223
}
224224
// Only in case Xray's context was given (!auditCmd.IncludeVulnerabilities), and the user asked to fail the build accordingly, do so.
225+
// TODO eran fix the failBuild condition here as well and fix all relevant tests accordingly (run in CI)
225226
if failBuild && !auditResults.ResultContext.IncludeVulnerabilities && results.CheckIfFailBuild(auditResults.GetScaScansXrayResults()) {
226227
err = results.NewFailBuildError()
227228
}

git_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package main
22

33
import (
4+
"github.com/jfrog/jfrog-cli-core/v2/utils/coreutils"
45
"path/filepath"
56
"testing"
67

78
"github.com/stretchr/testify/assert"
89

910
"github.com/jfrog/jfrog-cli-core/v2/common/format"
10-
"github.com/jfrog/jfrog-cli-core/v2/utils/coreutils"
1111
"github.com/jfrog/jfrog-cli-security/commands/git/contributors"
1212
securityTests "github.com/jfrog/jfrog-cli-security/tests"
1313
securityTestUtils "github.com/jfrog/jfrog-cli-security/tests/utils"
@@ -87,6 +87,7 @@ func TestGitAuditSimpleJson(t *testing.T) {
8787
)
8888
}
8989

90+
// TODO eran fix this flaky test - remove Ubuntu restriction in local
9091
func TestGitAuditViolationsWithIgnoreRule(t *testing.T) {
9192
if !coreutils.IsLinux() {
9293
t.Skip("Skipping test. This test only runs on Linux to avoid flaky tests when running in parallel tests.")

0 commit comments

Comments
 (0)