Skip to content

Commit

Permalink
Merge pull request #669 from mrunalp/fix_test
Browse files Browse the repository at this point in the history
Fix the kmem TCP test
  • Loading branch information
hqhq committed Mar 22, 2016
2 parents e80b6b6 + 73e4863 commit 69f8a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/cgroups/fs/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 69f8a50

Please sign in to comment.