From c9de230e570c9ca4c37b9b95d0952a1ce5299a0a Mon Sep 17 00:00:00 2001 From: Jing Chen Date: Wed, 25 Mar 2026 19:16:54 -0700 Subject: [PATCH] test cl PiperOrigin-RevId: 889552241 --- test/root/crictl_test.go | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/test/root/crictl_test.go b/test/root/crictl_test.go index 3ff5d4fac1..a0f0339d70 100644 --- a/test/root/crictl_test.go +++ b/test/root/crictl_test.go @@ -98,7 +98,7 @@ var Httpd = SimpleSpec("httpd", "basic/httpd", nil, nil) // TestCrictlSanity refers to b/112433158. func TestCrictlSanity(t *testing.T) { // Setup containerd and crictl. - crictl, cleanup, err := setup(t, false /* enableGrouping */) + crictl, cleanup, err := setup(t, true /* enableGrouping */) if err != nil { t.Fatalf("failed to setup crictl: %v", err) } @@ -113,24 +113,6 @@ func TestCrictlSanity(t *testing.T) { t.Fatalf("failed to get page: %v", err) } - // Since shim grouping is disabled, there will be one shim process for the - // container and another one for the sandbox. - count, err := countShimProcesses(t, contID) - if err != nil { - t.Fatalf("failed to count shim processes for containerID %s: %v", contID, err) - } - if count != 1 { - t.Errorf("got %d shim processes for containerID %s, want 1", count, contID) - } - - count, err = countShimProcesses(t, podID) - if err != nil { - t.Fatalf("failed to count shim processes for podID %s: %v", podID, err) - } - if count != 1 { - t.Errorf("got %d shim processes for podID %s, want 1", count, podID) - } - // Stop everything. if err := crictl.StopPodAndContainer(podID, contID); err != nil { t.Fatalf("stop failed: %v", err)