mirror of
https://github.com/containers/podman.git
synced 2025-06-21 09:28:09 +08:00
Re-enable checkpoint/restore CI tests on Fedora
Now that the correct distribution CRIU packages are installed the checkpoint/restore tests should no longer fail. This re-enables the disabled tests on Fedora. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:

committed by
Adrian Reber

parent
c50332d057
commit
2b41cd5fd3
@ -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() {
|
||||||
|
Reference in New Issue
Block a user