Skip to content

Commit

Permalink
Merge pull request #412 from prabhapa/OCPBUGS-45321
Browse files Browse the repository at this point in the history
OCPBUGS-45321: skipping some unit tests to avoid failures as they are duplicate
  • Loading branch information
openshift-merge-bot[bot] authored Dec 12, 2024
2 parents 3813f97 + 36163a1 commit 7f20fd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/build/builder/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (r *testGitRepo) addCommit() error {
}

func TestUnqualifiedClone(t *testing.T) {
t.Skip("OCPBUGS-45321: git file:// protocol no longer allowed by default. See CVE-2022-39253")
repo, err := initializeTestGitRepo("unqualified")
defer repo.cleanup()
if err != nil {
Expand Down Expand Up @@ -202,6 +203,7 @@ func TestUnqualifiedClone(t *testing.T) {
}

func TestCloneFromRef(t *testing.T) {
t.Skip("OCPBUGS-45321: git file:// protocol no longer allowed by default. See CVE-2022-39253")
repo, err := initializeTestGitRepo("commit")
defer repo.cleanup()
if err != nil {
Expand Down Expand Up @@ -252,6 +254,7 @@ func TestCloneFromRef(t *testing.T) {
}

func TestCloneFromBranch(t *testing.T) {
t.Skip("OCPBUGS-45321: git file:// protocol no longer allowed by default. See CVE-2022-39253")
repo, err := initializeTestGitRepo("branch")
defer repo.cleanup()
if err != nil {
Expand Down

0 comments on commit 7f20fd3

Please sign in to comment.