summaryrefslogtreecommitdiff
path: root/test/e2e/system_df_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-30 21:56:26 +0200
committerGitHub <noreply@github.com>2019-05-30 21:56:26 +0200
commitb5b461ac28629c95795f0dee3fc6c804f2a47186 (patch)
tree21dd4ab48159d6f77570d2ac8e11acec35bc67cb /test/e2e/system_df_test.go
parent2dcfd3df0b58463b050385c0ccd7929c540bce21 (diff)
parentf610a485c1bca7a78d3b2f70e2005b79668fab2f (diff)
downloadpodman-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/system_df_test.go')
-rw-r--r--test/e2e/system_df_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/system_df_test.go b/test/e2e/system_df_test.go
index 92787f17c..bbbdf30b0 100644
--- a/test/e2e/system_df_test.go
+++ b/test/e2e/system_df_test.go
@@ -25,7 +25,8 @@ var _ = Describe("podman system df", func() {
os.Exit(1)
}
podmanTest = PodmanTestCreate(tempdir)
- podmanTest.RestoreAllArtifacts()
+ podmanTest.Setup()
+ podmanTest.SeedImages()
})
AfterEach(func() {
@@ -55,7 +56,7 @@ var _ = Describe("podman system df", func() {
images := strings.Fields(session.OutputToStringArray()[1])
containers := strings.Fields(session.OutputToStringArray()[2])
volumes := strings.Fields(session.OutputToStringArray()[3])
- Expect(images[1]).To(Equal("2"))
+ Expect(images[1]).To(Equal("9"))
Expect(containers[1]).To(Equal("2"))
Expect(volumes[2]).To(Equal("1"))
})