diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-16 17:47:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 17:47:12 +0100 |
commit | 6f08f2a2385d0dd8ad7c246e0996f932ad0f1a2f (patch) | |
tree | 60add739974b0e83a79b71cfcaa8f38bf265582e /test/e2e/import_test.go | |
parent | 59b0a0bd72df3f61e373324a9b0c1e1014f8ad5a (diff) | |
parent | 15539c1c4bdb10095bb4d30c6283795dac657600 (diff) | |
download | podman-6f08f2a2385d0dd8ad7c246e0996f932ad0f1a2f.tar.gz podman-6f08f2a2385d0dd8ad7c246e0996f932ad0f1a2f.tar.bz2 podman-6f08f2a2385d0dd8ad7c246e0996f932ad0f1a2f.zip |
Merge pull request #8324 from baude/speedupe2eremote
use lookaside storage for remote tests
Diffstat (limited to 'test/e2e/import_test.go')
-rw-r--r-- | test/e2e/import_test.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/e2e/import_test.go b/test/e2e/import_test.go index 9c6f4381d..35fe0980a 100644 --- a/test/e2e/import_test.go +++ b/test/e2e/import_test.go @@ -62,11 +62,14 @@ var _ = Describe("Podman import", func() { export.WaitWithDefaultTimeout() Expect(export.ExitCode()).To(Equal(0)) - importImage := podmanTest.PodmanNoCache([]string{"import", outfile}) + importImage := podmanTest.Podman([]string{"import", outfile}) importImage.WaitWithDefaultTimeout() Expect(importImage.ExitCode()).To(Equal(0)) - Expect(podmanTest.ImageExistsInMainStore(importImage.OutputToString())).To(BeTrue()) + // tag the image which proves it is in R/W storage + tag := podmanTest.Podman([]string{"tag", importImage.OutputToString(), "foo"}) + tag.WaitWithDefaultTimeout() + Expect(tag.ExitCode()).To(BeZero()) }) It("podman import with message flag", func() { |