Skip to content

Commit

Permalink
Skip checkpoint/restore tests on Fedora for now
Browse files Browse the repository at this point in the history
There is currently still one SELinux related checkpoint/restore problem:
containers#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 <[email protected]>
  • Loading branch information
adrianreber committed Feb 27, 2019
1 parent 623fcfa commit 6412b05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/e2e/checkpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6412b05

Please sign in to comment.