summaryrefslogtreecommitdiff
path: root/test/e2e/tree_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-07-08 09:51:56 -0500
committerbaude <bbaude@redhat.com>2019-07-08 12:31:31 -0500
commitc187da23c49876f23a5b2fc0f4d94bedd44482e6 (patch)
treed55f693adcc13fc287b8fb3e4eb0a0c96ed07f74 /test/e2e/tree_test.go
parent3fdf1a2c447ac3b26ae51e266ca4a781da30a5c1 (diff)
downloadpodman-c187da23c49876f23a5b2fc0f4d94bedd44482e6.tar.gz
podman-c187da23c49876f23a5b2fc0f4d94bedd44482e6.tar.bz2
podman-c187da23c49876f23a5b2fc0f4d94bedd44482e6.zip
speed up rootless tests
when running integrations tests as rootless, several tests still unnecessarily pull images which is costly in terms of time. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/tree_test.go')
-rw-r--r--test/e2e/tree_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/e2e/tree_test.go b/test/e2e/tree_test.go
index 2db7aeb5e..c445328fa 100644
--- a/test/e2e/tree_test.go
+++ b/test/e2e/tree_test.go
@@ -37,10 +37,6 @@ var _ = Describe("Podman image tree", func() {
if podmanTest.RemoteTest {
Skip("Does not work on remote client")
}
- session := podmanTest.PodmanNoCache([]string{"pull", "docker.io/library/busybox:latest"})
- session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(Equal(0))
-
dockerfile := `FROM docker.io/library/busybox:latest
RUN mkdir hello
RUN touch test.txt
@@ -48,7 +44,7 @@ ENV foo=bar
`
podmanTest.BuildImage(dockerfile, "test:latest", "true")
- session = podmanTest.PodmanNoCache([]string{"image", "tree", "test:latest"})
+ session := podmanTest.PodmanNoCache([]string{"image", "tree", "test:latest"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
session = podmanTest.PodmanNoCache([]string{"image", "tree", "--whatrequires", "docker.io/library/busybox:latest"})