From 46221e3953ec4c810a5ceafa265ac41dda267f8d Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Tue, 3 Jul 2018 14:46:31 +0000 Subject: [PATCH] criu tests: rename criu feature check Upstream renamed the feature check for lazy migration support from 'lazy_pages' to 'uffd'. The lazy migration test case was therefore not running at all. This enables the lazy migration test case in runc again. The test will, however, not run in travis as the kernel is too old. But it works again locally. Signed-off-by: Adrian Reber --- tests/integration/checkpoint.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index 27d6edc9..3aaf0384 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -128,7 +128,7 @@ function teardown() { requires criu root # check if lazy-pages is supported - run ${CRIU} check --feature lazy_pages + run ${CRIU} check --feature uffd-noncoop if [ "$status" -eq 1 ]; then # this criu does not support lazy migration; skip the test skip "this criu does not support lazy migration"