diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-06-06 10:59:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 10:59:19 -0400 |
commit | b2ebb91656b4c735a2e392274632f2e097423cad (patch) | |
tree | 3749878efc4727f39676a2c03c32ef2f45b4f506 | |
parent | d45b3488f56e24a2d931d8e93233eeb3648e8a65 (diff) | |
parent | 9de092ec001ed64ab9f1f40e24ee204e46cf73eb (diff) | |
download | podman-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.go | 2 |
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")) |