summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2019-02-27 07:36:34 +0000
committerAdrian Reber <adrian@lisas.de>2019-02-27 16:32:59 +0100
commit6412b05211b222000a97f14c1595fe75958fb4fb (patch)
tree1b4f939bf9df36cf41bdee2675c964567d44a7d0
parent623fcfab84479a760a085d0ebb101be58c374f2e (diff)
downloadpodman-6412b05211b222000a97f14c1595fe75958fb4fb.tar.gz
podman-6412b05211b222000a97f14c1595fe75958fb4fb.tar.bz2
podman-6412b05211b222000a97f14c1595fe75958fb4fb.zip
Skip checkpoint/restore tests on Fedora for now
There is currently still one SELinux related checkpoint/restore problem: https://github.com/containers/libpod/issues/2334 To avoid unnecessary CI failures the checkpoint/restore tests are temporarily disabled on Fedora. It is not necessary to disable the tests on Ubuntu as it is running without SELinux and it is also not necessary to disable the RHEL 7 tests as RHEL's CRIU is too old to run the checkpoint/restore tests at all. Signed-off-by: Adrian Reber <areber@redhat.com>
-rw-r--r--test/e2e/checkpoint_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index fda6eb085..11332708b 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -30,6 +30,13 @@ 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
+ hostInfo := podmanTest.Host
+ if hostInfo.Distribution == "fedora" {
+ Skip("Checkpointing containers on Fedora currently broken.")
+ }
+
})
AfterEach(func() {