Fixing test step for memory swappiness

Signed-off-by: Rajasekaran <rajasec79@gmail.com>
This commit is contained in:
Rajasekaran 2015-07-07 21:15:59 +05:30
parent 5ec11a2918
commit e027c57f38
1 changed files with 5 additions and 4 deletions

View File

@ -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",