summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-13 15:58:39 +0200
committerGitHub <noreply@github.com>2019-05-13 15:58:39 +0200
commit2ded1f6199b59c09268ca59de6903a30ac110201 (patch)
tree558b78b7aba7d40a030afe500e3ce88b1d4ec25b /test/e2e
parentd2571c7fd49d22e822a6f3b3796488218c9f9e46 (diff)
parent5e6ce93b1e6805743d55e5a745841d819b9209d7 (diff)
downloadpodman-2ded1f6199b59c09268ca59de6903a30ac110201.tar.gz
podman-2ded1f6199b59c09268ca59de6903a30ac110201.tar.bz2
podman-2ded1f6199b59c09268ca59de6903a30ac110201.zip
Merge pull request #2705 from adrianreber/ci-test
Enabling checkpoint/restore testing on Fedora >= 29 again
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/checkpoint_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index 5b549755e..c2f5a592c 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -21,6 +21,7 @@ var _ = Describe("Podman checkpoint", func() {
)
BeforeEach(func() {
+ SkipIfRootless()
tempdir, err = CreateTempDirInTempDir()
if err != nil {
os.Exit(1)
@@ -41,11 +42,12 @@ var _ = Describe("Podman checkpoint", func() {
if !criu.CheckForCriu() {
Skip("CRIU is missing or too old.")
}
- // TODO: Remove the skip when the current CRIU SELinux problem is solved.
- // See: https://github.com/containers/libpod/issues/2334
+ // Only Fedora 29 and newer has a new enough selinux-policy and
+ // container-selinux package to support CRIU in correctly
+ // restoring threaded processes
hostInfo := podmanTest.Host
- if hostInfo.Distribution == "fedora" {
- Skip("Checkpointing containers on Fedora currently broken.")
+ if hostInfo.Distribution == "fedora" && hostInfo.Version < "29" {
+ Skip("Checkpoint/Restore with SELinux only works on Fedora >= 29")
}
})