mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
TestCgroupDriverSystemdMemoryLimit: fix failure
The test was failing: --- FAIL: TestCgroupDriverSystemdMemoryLimit (1.76s) cgroupdriver_systemd_test.go:54: assertion failed: 67108864 (s.HostConfig.Memory int64) != 67108864 (mem int) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
7af0344f9b
commit
3fbc41fe36
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func TestCgroupDriverSystemdMemoryLimit(t *testing.T) {
|
|||
d.StartWithBusybox(t, "--exec-opt", "native.cgroupdriver=systemd", "--iptables=false")
|
||||
defer d.Stop(t)
|
||||
|
||||
const mem = 64 * 1024 * 1024 // 64 MB
|
||||
const mem = int64(64 * 1024 * 1024) // 64 MB
|
||||
|
||||
ctx := context.Background()
|
||||
ctrID := container.Create(ctx, t, c, func(ctr *container.TestContainerConfig) {
|
||||
|
|
Loading…
Reference in a new issue