mirror of https://github.com/containers/podman.git
Temp. skip "remove pause by id" bindings test
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
4511e15f8c
commit
80da73f13c
|
@ -3,10 +3,12 @@ package test_bindings
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/containers/libpod/pkg/bindings"
|
"github.com/containers/libpod/pkg/bindings"
|
||||||
"github.com/containers/libpod/pkg/bindings/containers"
|
"github.com/containers/libpod/pkg/bindings/containers"
|
||||||
|
"github.com/containers/libpod/test/utils"
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
"github.com/onsi/gomega/gexec"
|
"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() {
|
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
|
// Removing a paused container with force should work
|
||||||
var name = "top"
|
var name = "top"
|
||||||
bt.RunTopContainer(&name, &falseFlag, nil)
|
bt.RunTopContainer(&name, &falseFlag, nil)
|
||||||
|
|
Loading…
Reference in New Issue