File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,17 +313,15 @@ func TestMemLimit(t *testing.T) {
313313 d := dockerutil .MakeContainer (ctx , t )
314314 defer d .CleanUp (ctx )
315315
316- // FIXME: KVM allocates more than 128 MB on startup and OOMs the sandbox.
317- // Investigate why KVM is allocating so much memory. Skip test for now.
316+ allocMemoryKb := 128 * 1024
318317 runArgs , err := dockerutil .RuntimeArgs ()
319318 if err != nil {
320319 t .Fatalf ("dockerutil.RuntimeArgs() failed: %v" , err )
321320 }
322321 if slices .Contains (runArgs , "--platform=kvm" ) {
323- t .Skip ("Skipping test when platform/KVM is enabled." )
322+ // TODO: b/498290339 - KVM allocates more than 128 MB on startup and OOMs the sandbox.
323+ allocMemoryKb = 150 * 1024
324324 }
325-
326- allocMemoryKb := 128 * 1024
327325 opts := dockerutil.RunOpts {
328326 Image : "basic/alpine" ,
329327 Memory : allocMemoryKb * 1024 , // In bytes.
You can’t perform that action at this time.
0 commit comments