summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSujil02 <sushah@redhat.com>2020-04-30 11:26:02 -0400
committerSujil02 <sushah@redhat.com>2020-04-30 12:03:09 -0400
commitc3c030f55085949ca2aa704f34a4c203f8e6b079 (patch)
tree84805dc007a162fa132dccce6bc34b383e7b80a3 /test
parentfc9451ed15e3ea2fbdcd5754b367db74eec1063e (diff)
downloadpodman-c3c030f55085949ca2aa704f34a4c203f8e6b079.tar.gz
podman-c3c030f55085949ca2aa704f34a4c203f8e6b079.tar.bz2
podman-c3c030f55085949ca2aa704f34a4c203f8e6b079.zip
Enable prune integration test. Fixes container prune.
Fixes container prune to prune created and configured containers. Disables couple of system prune test as not yet in with v2. Signed-off-by: Sujil02 <sushah@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/prune_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/prune_test.go b/test/e2e/prune_test.go
index e8a208c3c..466a4f739 100644
--- a/test/e2e/prune_test.go
+++ b/test/e2e/prune_test.go
@@ -22,7 +22,6 @@ var _ = Describe("Podman prune", func() {
)
BeforeEach(func() {
- Skip(v2fail)
tempdir, err = CreateTempDirInTempDir()
if err != nil {
os.Exit(1)
@@ -149,6 +148,7 @@ var _ = Describe("Podman prune", func() {
It("podman system image prune unused images", func() {
SkipIfRemote()
+ Skip(v2fail)
podmanTest.RestoreAllArtifacts()
podmanTest.BuildImage(pruneImage, "alpine_bash:latest", "true")
prune := podmanTest.PodmanNoCache([]string{"system", "prune", "-a", "--force"})
@@ -162,6 +162,7 @@ var _ = Describe("Podman prune", func() {
})
It("podman system prune pods", func() {
+ Skip(v2fail)
session := podmanTest.Podman([]string{"pod", "create"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))