Re-enable CRIU tests by not using overlayfs snapshotter

While the issue hasn't been fixed in the kernel yet, we can workaround
the issue by not using overlayfs snapshotter.

The newly added step runs all tests that match /TestCheckpoint/.
So, TestCRWithImagePath has been renamed to match the regexp.

Fixes #3930.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato
2020-11-09 13:47:53 -08:00
parent b520428b5a
commit 8731888ec0
3 changed files with 41 additions and 5 deletions

View File

@@ -414,7 +414,7 @@ func TestCheckpointLeaveRunning(t *testing.T) {
<-statusC
}
func TestCRWithImagePath(t *testing.T) {
func TestCheckpointRestoreWithImagePath(t *testing.T) {
if !supportsCriu {
t.Skip("system does not have criu installed")
}