summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-06-06 10:59:19 -0400
committerGitHub <noreply@github.com>2022-06-06 10:59:19 -0400
commitb2ebb91656b4c735a2e392274632f2e097423cad (patch)
tree3749878efc4727f39676a2c03c32ef2f45b4f506
parentd45b3488f56e24a2d931d8e93233eeb3648e8a65 (diff)
parent9de092ec001ed64ab9f1f40e24ee204e46cf73eb (diff)
downloadpodman-b2ebb91656b4c735a2e392274632f2e097423cad.tar.gz
podman-b2ebb91656b4c735a2e392274632f2e097423cad.tar.bz2
podman-b2ebb91656b4c735a2e392274632f2e097423cad.zip
Merge pull request #14485 from ashley-cui/flake
Fix secret-verify-leak flake: set build context to subdir
-rw-r--r--test/e2e/build_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/build_test.go b/test/e2e/build_test.go
index 86dc76116..0b766dcc8 100644
--- a/test/e2e/build_test.go
+++ b/test/e2e/build_test.go
@@ -85,7 +85,7 @@ var _ = Describe("Podman build", func() {
})
It("podman build with a secret from file and verify if secret file is not leaked into image", func() {
- session := podmanTest.Podman([]string{"build", "-f", "build/secret-verify-leak/Containerfile.with-secret-verify-leak", "-t", "secret-test-leak", "--secret", "id=mysecret,src=build/secret.txt", "build/"})
+ session := podmanTest.Podman([]string{"build", "-f", "build/secret-verify-leak/Containerfile.with-secret-verify-leak", "-t", "secret-test-leak", "--secret", "id=mysecret,src=build/secret.txt", "build/secret-verify-leak"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
Expect(session.OutputToString()).To(ContainSubstring("somesecret"))