|
@@ -38,7 +38,7 @@ func TestCgroupDriverSystemdMemoryLimit(t *testing.T) {
|
|
d.StartWithBusybox(t, "--exec-opt", "native.cgroupdriver=systemd", "--iptables=false")
|
|
d.StartWithBusybox(t, "--exec-opt", "native.cgroupdriver=systemd", "--iptables=false")
|
|
defer d.Stop(t)
|
|
defer d.Stop(t)
|
|
|
|
|
|
- const mem = 64 * 1024 * 1024 // 64 MB
|
|
|
|
|
|
+ const mem = int64(64 * 1024 * 1024) // 64 MB
|
|
|
|
|
|
ctx := context.Background()
|
|
ctx := context.Background()
|
|
ctrID := container.Create(ctx, t, c, func(ctr *container.TestContainerConfig) {
|
|
ctrID := container.Create(ctx, t, c, func(ctr *container.TestContainerConfig) {
|