mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08:00
Skip checkpoint tests on Fedora <30
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -4,6 +4,7 @@ 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,8 +30,9 @@ var _ = Describe("Podman checkpoint", func() {
|
|||||||
Skip("CRIU is missing or too old.")
|
Skip("CRIU is missing or too old.")
|
||||||
}
|
}
|
||||||
hostInfo := podmanTest.Host
|
hostInfo := podmanTest.Host
|
||||||
if hostInfo.Distribution == "fedora" && hostInfo.Version == "29" {
|
hostDistVer, _ := strconv.Atoi(hostInfo.Version)
|
||||||
Skip("Checkpoint tests appear to fail on F29.")
|
if hostInfo.Distribution == "fedora" && hostDistVer <= 29 {
|
||||||
|
Skip("Checkpoint tests appear to fail on older (<30) Fedora versions .")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user