summaryrefslogtreecommitdiff
path: root/test/e2e/load_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-07-31 09:05:48 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-01 13:01:44 +0000
commita8ae7eae9c9e545b685abfd1e42a2a63cb547a80 (patch)
treed7d8077f1c38bfee990cb3ca061c53ff408023dd /test/e2e/load_test.go
parent1a439f9fcbbc6a2b509c1ca7e23207a07a652399 (diff)
downloadpodman-a8ae7eae9c9e545b685abfd1e42a2a63cb547a80.tar.gz
podman-a8ae7eae9c9e545b685abfd1e42a2a63cb547a80.tar.bz2
podman-a8ae7eae9c9e545b685abfd1e42a2a63cb547a80.zip
Integration Test Improvements #3
Third round of speed improvements to the integration tests. Signed-off-by: baude <bbaude@redhat.com> Closes: #1193 Approved by: rhatdan
Diffstat (limited to 'test/e2e/load_test.go')
-rw-r--r--test/e2e/load_test.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/e2e/load_test.go b/test/e2e/load_test.go
index a4910df0c..d2ea8c6c7 100644
--- a/test/e2e/load_test.go
+++ b/test/e2e/load_test.go
@@ -193,9 +193,8 @@ var _ = Describe("Podman load", func() {
It("podman load localhost repo from dir", func() {
outfile := filepath.Join(podmanTest.TempDir, "load")
- podmanTest.RestoreArtifact(fedoraMinimal)
- setup := podmanTest.Podman([]string{"tag", "fedora-minimal", "hello:world"})
+ setup := podmanTest.Podman([]string{"tag", BB, "hello:world"})
setup.WaitWithDefaultTimeout()
Expect(setup.ExitCode()).To(Equal(0))
@@ -218,16 +217,16 @@ var _ = Describe("Podman load", func() {
})
It("podman load xz compressed image", func() {
- outfile := filepath.Join(podmanTest.TempDir, "alpine.tar")
+ outfile := filepath.Join(podmanTest.TempDir, "bb.tar")
- save := podmanTest.Podman([]string{"save", "-o", outfile, ALPINE})
+ save := podmanTest.Podman([]string{"save", "-o", outfile, BB})
save.WaitWithDefaultTimeout()
Expect(save.ExitCode()).To(Equal(0))
session := podmanTest.SystemExec("xz", []string{outfile})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- rmi := podmanTest.Podman([]string{"rmi", ALPINE})
+ rmi := podmanTest.Podman([]string{"rmi", BB})
rmi.WaitWithDefaultTimeout()
Expect(rmi.ExitCode()).To(Equal(0))