summaryrefslogtreecommitdiff
path: root/test/e2e/checkpoint_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-14 11:01:14 -0800
committerGitHub <noreply@github.com>2018-12-14 11:01:14 -0800
commitc086118fca59600de49ba12035fef47f45e23286 (patch)
treeafccd16e51b6170727ce2a5970f834610adde39e /test/e2e/checkpoint_test.go
parent93b5ccfe94f3f180542f045a92f14b8d2368e73e (diff)
parenta1a5f3ba515e54bad3364ab175d86906d0756044 (diff)
downloadpodman-c086118fca59600de49ba12035fef47f45e23286.tar.gz
podman-c086118fca59600de49ba12035fef47f45e23286.tar.bz2
podman-c086118fca59600de49ba12035fef47f45e23286.zip
Merge pull request #1969 from cevich/two_fedoras_rhels
Cirrus: Migrate PAPR testing of F28 to Cirrus
Diffstat (limited to 'test/e2e/checkpoint_test.go')
-rw-r--r--test/e2e/checkpoint_test.go6
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 .")
}
})