diff --git a/libcontainer/integration/template_test.go b/libcontainer/integration/template_test.go index b4858b900..7b2ff4c75 100644 --- a/libcontainer/integration/template_test.go +++ b/libcontainer/integration/template_test.go @@ -46,10 +46,11 @@ func newTemplateConfig(rootfs string) *configs.Config { {Type: configs.NEWNET}, }), Cgroups: &configs.Cgroup{ - Name: "test", - Parent: "integration", - AllowAllDevices: false, - AllowedDevices: configs.DefaultAllowedDevices, + Name: "test", + Parent: "integration", + MemorySwappiness: -1, + AllowAllDevices: false, + AllowedDevices: configs.DefaultAllowedDevices, }, MaskPaths: []string{ "/proc/kcore",