Skip to content

Commit 97230f4

Browse files
committed
fix comment
1 parent 8736893 commit 97230f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func createTestProjectRunGitAuditAndValidate(t *testing.T, projectPath string, g
7070
_, cleanUpProject := securityTestUtils.CreateTestProjectFromZipAndChdir(t, projectPath)
7171
defer cleanUpProject()
7272
if gitAuditParams.CustomRepoCloneUrl != "" {
73-
// Override the git remote url to a dummy one to avoid network calls during tests.
73+
// Override the git remote url to a dummy one to avoid flaky tests due to collisions in policy/watch created for the same repo.
7474
assert.NoError(t, exec.Command("git", "remote", "set-url", "origin", gitAuditParams.CustomRepoCloneUrl).Run(), "Failed to set dummy git remote url")
7575
}
7676
// Run the audit command with git repo and verify violations are reported to the platform.

0 commit comments

Comments
 (0)