diff options
author | Chris Evich <cevich@redhat.com> | 2018-12-12 12:59:49 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2018-12-14 11:16:00 -0500 |
commit | cb89409a712d1419fb5f02fd6812359e960fb1d6 (patch) | |
tree | 68f06198d637372838596acab1e476e5cb6b02d4 | |
parent | 93b5ccfe94f3f180542f045a92f14b8d2368e73e (diff) | |
download | podman-cb89409a712d1419fb5f02fd6812359e960fb1d6.tar.gz podman-cb89409a712d1419fb5f02fd6812359e960fb1d6.tar.bz2 podman-cb89409a712d1419fb5f02fd6812359e960fb1d6.zip |
Skip checkpoint tests on Fedora <30
Signed-off-by: Chris Evich <cevich@redhat.com>
-rw-r--r-- | test/e2e/checkpoint_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go index fe614e911..57322643e 100644 --- a/test/e2e/checkpoint_test.go +++ b/test/e2e/checkpoint_test.go @@ -4,6 +4,7 @@ import ( "fmt" "net" "os" + "strconv" "github.com/containers/libpod/pkg/criu" . "github.com/containers/libpod/test/utils" @@ -29,8 +30,9 @@ var _ = Describe("Podman checkpoint", func() { Skip("CRIU is missing or too old.") } hostInfo := podmanTest.Host - if hostInfo.Distribution == "fedora" && hostInfo.Version == "29" { - Skip("Checkpoint tests appear to fail on F29.") + hostDistVer, _ := strconv.Atoi(hostInfo.Version) + if hostInfo.Distribution == "fedora" && hostDistVer <= 29 { + Skip("Checkpoint tests appear to fail on older (<30) Fedora versions .") } }) |