Merge pull request #2058 from adrianreber/enable-cr

Re-enable checkpoint/restore CI tests on Fedora
This commit is contained in:
OpenShift Merge Robot
2018-12-28 17:54:35 -08:00
committed by GitHub

View File

@ -4,7 +4,6 @@ import (
"fmt" "fmt"
"net" "net"
"os" "os"
"strconv"
"github.com/containers/libpod/pkg/criu" "github.com/containers/libpod/pkg/criu"
. "github.com/containers/libpod/test/utils" . "github.com/containers/libpod/test/utils"
@ -29,11 +28,6 @@ var _ = Describe("Podman checkpoint", func() {
if !criu.CheckForCriu() { if !criu.CheckForCriu() {
Skip("CRIU is missing or too old.") Skip("CRIU is missing or too old.")
} }
hostInfo := podmanTest.Host
hostDistVer, _ := strconv.Atoi(hostInfo.Version)
if hostInfo.Distribution == "fedora" && hostDistVer <= 29 {
Skip("Checkpoint tests appear to fail on older (<30) Fedora versions .")
}
}) })
AfterEach(func() { AfterEach(func() {