diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-30 21:56:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-30 21:56:26 +0200 |
commit | b5b461ac28629c95795f0dee3fc6c804f2a47186 (patch) | |
tree | 21dd4ab48159d6f77570d2ac8e11acec35bc67cb /test/e2e/pod_infra_container_test.go | |
parent | 2dcfd3df0b58463b050385c0ccd7929c540bce21 (diff) | |
parent | f610a485c1bca7a78d3b2f70e2005b79668fab2f (diff) | |
download | podman-b5b461ac28629c95795f0dee3fc6c804f2a47186.tar.gz podman-b5b461ac28629c95795f0dee3fc6c804f2a47186.tar.bz2 podman-b5b461ac28629c95795f0dee3fc6c804f2a47186.zip |
Merge pull request #3147 from baude/testimagecache
use imagecaches for local tests
Diffstat (limited to 'test/e2e/pod_infra_container_test.go')
-rw-r--r-- | test/e2e/pod_infra_container_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/e2e/pod_infra_container_test.go b/test/e2e/pod_infra_container_test.go index 82f35999c..c8763de9f 100644 --- a/test/e2e/pod_infra_container_test.go +++ b/test/e2e/pod_infra_container_test.go @@ -25,8 +25,7 @@ var _ = Describe("Podman pod create", func() { } podmanTest = PodmanTestCreate(tempdir) podmanTest.Setup() - podmanTest.RestoreAllArtifacts() - podmanTest.RestoreArtifact(infra) + podmanTest.SeedImages() }) AfterEach(func() { @@ -113,12 +112,10 @@ var _ = Describe("Podman pod create", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - podmanTest.RestoreArtifact(nginx) session = podmanTest.Podman([]string{"run", "-d", "--pod", podID, nginx}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - podmanTest.RestoreArtifact(fedoraMinimal) session = podmanTest.Podman([]string{"run", "--pod", podID, fedoraMinimal, "curl", "localhost:80"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -138,7 +135,6 @@ var _ = Describe("Podman pod create", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - podmanTest.RestoreArtifact(fedoraMinimal) session = podmanTest.Podman([]string{"run", "--pod", podID, fedoraMinimal, "/bin/sh", "-c", "'touch /dev/shm/hi'"}) session.WaitWithDefaultTimeout() if session.ExitCode() != 0 { @@ -216,7 +212,6 @@ var _ = Describe("Podman pod create", func() { session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - podmanTest.RestoreArtifact(nginx) session = podmanTest.Podman([]string{"run", "-d", "--pod", podID, nginx}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) |