Merge pull request #669 from mrunalp/fix_test

Fix the kmem TCP test
This commit is contained in:
Qiang Huang 2016-03-22 09:45:13 +08:00
commit 69f8a50081
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func TestMemorySetKernelMemoryTCP(t *testing.T) {
"memory.kmem.tcp.limit_in_bytes": strconv.Itoa(kernelMemoryTCPBefore), "memory.kmem.tcp.limit_in_bytes": strconv.Itoa(kernelMemoryTCPBefore),
}) })
helper.CgroupData.config.Resources.KernelMemory = kernelMemoryTCPAfter helper.CgroupData.config.Resources.KernelMemoryTCP = kernelMemoryTCPAfter
memory := &MemoryGroup{} memory := &MemoryGroup{}
if err := memory.Set(helper.CgroupPath, helper.CgroupData.config); err != nil { if err := memory.Set(helper.CgroupPath, helper.CgroupData.config); err != nil {
t.Fatal(err) t.Fatal(err)