Skip to content

Commit

Permalink
Add zstd:chunked test fix
Browse files Browse the repository at this point in the history
Add a fix to pull to address a zstd:chunked issue as noted in
containers/image#2485

Signed-off-by: tomsweeneyredhat <[email protected]>
  • Loading branch information
TomSweeneyRedHat committed Aug 13, 2024
1 parent 2616ffb commit 153feaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,8 @@ var _ = Describe("Podman pull", func() {
_, wrongPrivateKeyFileName, err := WriteRSAKeyPair(wrongKeyFileName, bitSize)
Expect(err).ToNot(HaveOccurred())

session := podmanTest.Podman([]string{"push", "-q", "--encryption-key", "jwe:" + publicKeyFileName, "--tls-verify=false", "--remove-signatures", ALPINE, imgPath})
// Force zstd here because zstd:chunked throws a warning, https://github.com/containers/image/issues/2485.
session := podmanTest.Podman([]string{"push", "-q", "--compression-format=zstd", "--encryption-key", "jwe:" + publicKeyFileName, "--tls-verify=false", "--remove-signatures", ALPINE, imgPath})
session.WaitWithDefaultTimeout()
Expect(session).Should(ExitCleanly())

Expand Down

0 comments on commit 153feaf

Please sign in to comment.