From f04f14e18bb1c92ecbb3660b5ca8fe20b564344c Mon Sep 17 00:00:00 2001 From: Tom Kennedy Date: Wed, 4 Oct 2023 15:16:40 -0400 Subject: [PATCH] Pinning to a specific commit in fetch test - A change to the filename broke the test on multiple branches. Pinning this to prevent this from happening again Signed-off-by: Tom Kennedy --- pkg/git/fetch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/git/fetch_test.go b/pkg/git/fetch_test.go index f038101f7..7d32ddd07 100644 --- a/pkg/git/fetch_test.go +++ b/pkg/git/fetch_test.go @@ -90,7 +90,7 @@ func testGitCheckout(t *testing.T, when spec.G, it spec.S) { }) it("preserves executable permission", func() { - err := fetcher.Fetch(testDir, "https://github.com/pivotal/kpack", "main", metadataDir) + err := fetcher.Fetch(testDir, "https://github.com/pivotal/kpack", "b8c0d491135595cc00ab78f6214bef8a7a20afd8", metadataDir) require.NoError(t, err) fileInfo, err := os.Lstat(path.Join(testDir, "hack", "local.sh"))