Skip to content

Commit

Permalink
Pinning to a specific commit in fetch test
Browse files Browse the repository at this point in the history
- A change to the filename broke the test on multiple branches. Pinning this to prevent this from happening again

Signed-off-by: Tom Kennedy <[email protected]>
  • Loading branch information
tomkennedy513 committed Oct 4, 2023
1 parent b8c0d49 commit f04f14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/fetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit f04f14e

Please sign in to comment.