summaryrefslogtreecommitdiff
path: root/test/e2e/checkpoint_test.go
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2021-07-08 15:24:31 +0000
committerAdrian Reber <adrian@lisas.de>2021-07-27 16:10:44 +0200
commit92dce3e2febc752434c08574cbb394545c7fef47 (patch)
tree953df6e4037b3e242a4090e070b348054537788d /test/e2e/checkpoint_test.go
parentb6c279be2296ce32fbb36ba39bd948f93be9bede (diff)
downloadpodman-92dce3e2febc752434c08574cbb394545c7fef47.tar.gz
podman-92dce3e2febc752434c08574cbb394545c7fef47.tar.bz2
podman-92dce3e2febc752434c08574cbb394545c7fef47.zip
Prepare CRIU version check to work with multiple versions
The upcoming commit to support checkpointing out of Pods requires CRIU 3.16. This changes the CRIU version check to support checking for different versions. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'test/e2e/checkpoint_test.go')
-rw-r--r--test/e2e/checkpoint_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index b5bbfcd5c..cbebffe81 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -46,7 +46,7 @@ var _ = Describe("Podman checkpoint", func() {
Skip("OCI runtime does not support checkpoint/restore")
}
- if !criu.CheckForCriu() {
+ if !criu.CheckForCriu(criu.MinCriuVersion) {
Skip("CRIU is missing or too old.")
}
// Only Fedora 29 and newer has a new enough selinux-policy and