Skip to content

Commit 31f63d3

Browse files
committed
add run id suffix to org in test
1 parent 7e3d283 commit 31f63d3

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
@@ -104,7 +104,7 @@ func TestGitAuditViolationsWithIgnoreRule(t *testing.T) {
104104

105105
projectPath := filepath.Join(filepath.FromSlash(securityTests.GetTestResourcesPath()), "git", "projects", "issues")
106106
// Tests are running in parallel for multiple OSes and environments, so we need to generate a unique repo clone URL to avoid conflicts.
107-
dummyCloneUrl := fmt.Sprintf("https://github.com/jfrog/dummy-repo-url-%s.git", securityTests.GetUniqueSuffix())
107+
dummyCloneUrl := fmt.Sprintf("https://github.com/jfrog-%s/dummy-repo-url-%s.git", *securityTests.CiRunId, securityTests.GetUniqueSuffix())
108108

109109
// Create policy and watch for the git repo so we will also get violations (unknown = all vulnerabilities will be reported as violations)
110110
policyName, cleanUpPolicy := securityTestUtils.CreateTestSecurityPolicy(t, "git-repo-ignore-rule-policy", utils.Unknown, true, false)

0 commit comments

Comments
 (0)