Skip to content

Commit

Permalink
Remove limits update from test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Aug 2, 2024
1 parent 9b17637 commit 7e6102a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/suites/storage/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7e6102a

Please sign in to comment.