summaryrefslogtreecommitdiff
path: root/pkg/bindings/test/containers_test.go
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-02-25 12:01:02 -0500
committerChris Evich <cevich@redhat.com>2020-02-25 12:34:26 -0500
commit80da73f13c69fa84055a317cb59f3a5eb1ffa09c (patch)
tree0220b8937be5ff8e65907aa68c73df1ac113be68 /pkg/bindings/test/containers_test.go
parent4511e15f8cde510e2224ac3d090f51fa120359bd (diff)
downloadpodman-80da73f13c69fa84055a317cb59f3a5eb1ffa09c.tar.gz
podman-80da73f13c69fa84055a317cb59f3a5eb1ffa09c.tar.bz2
podman-80da73f13c69fa84055a317cb59f3a5eb1ffa09c.zip
Temp. skip "remove pause by id" bindings test
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'pkg/bindings/test/containers_test.go')
-rw-r--r--pkg/bindings/test/containers_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/bindings/test/containers_test.go b/pkg/bindings/test/containers_test.go
index f6ef4abec..90b87ea91 100644
--- a/pkg/bindings/test/containers_test.go
+++ b/pkg/bindings/test/containers_test.go
@@ -3,10 +3,12 @@ package test_bindings
import (
"context"
"net/http"
+ "strconv"
"time"
"github.com/containers/libpod/pkg/bindings"
"github.com/containers/libpod/pkg/bindings/containers"
+ "github.com/containers/libpod/test/utils"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
@@ -175,6 +177,14 @@ var _ = Describe("Podman containers ", func() {
})
It("podman remove a paused container by id with force", func() {
+ // FIXME: Skip on F31 and later
+ host := utils.GetHostDistributionInfo()
+ osVer, err := strconv.Atoi(host.Version)
+ Expect(err).To(BeNil())
+ if host.Distribution == "fedora" && osVer >= 31 {
+ Skip("FIXME: https://github.com/containers/libpod/issues/5325")
+ }
+
// Removing a paused container with force should work
var name = "top"
bt.RunTopContainer(&name, &falseFlag, nil)