Fix the kmem TCP test

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2016-03-21 15:51:42 -07:00
parent 4d7929274d
commit 73e48633a3
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),
})
helper.CgroupData.config.Resources.KernelMemory = kernelMemoryTCPAfter
helper.CgroupData.config.Resources.KernelMemoryTCP = kernelMemoryTCPAfter
memory := &MemoryGroup{}
if err := memory.Set(helper.CgroupPath, helper.CgroupData.config); err != nil {
t.Fatal(err)