From 70c0c8970a92cb2ef64b2fc0ddeeda24bb450cec Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Fri, 2 Aug 2024 08:55:00 -0700 Subject: [PATCH] Remove limits update from test --- test/suites/storage/suite_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/suites/storage/suite_test.go b/test/suites/storage/suite_test.go index 7fc9d91973f0..fca54d99416f 100644 --- a/test/suites/storage/suite_test.go +++ b/test/suites/storage/suite_test.go @@ -326,13 +326,6 @@ var _ = Describe("Stateful workloads", func() { env.EventuallyExpectCreatedNodeCount(">=", 1) - // Set the limit to 0 to make sure we don't continue to create nodeClaims. - // This is CRITICAL since it prevents leaking node resources into subsequent tests - nodePool.Spec.Limits = karpv1.Limits{ - corev1.ResourceCPU: resource.MustParse("0"), - } - env.ExpectUpdated(nodePool) - // After the deletion timestamp is set and all pods are drained the node should be gone. env.EventuallyExpectNotFound(nodeClaim, node)