Skip to content

Commit

Permalink
Add DeleteAndWait function for ClusterClass flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <[email protected]>
  • Loading branch information
killianmuldoon committed Nov 23, 2022
1 parent 0ba4a7a commit 1bc99f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/webhooks/test/clusterclass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func TestClusterClassWebhook_Delete_MultipleExistingClusters(t *testing.T) {
defer func() {
// Delete each of the clusters.
for _, c := range clusters {
g.Expect(env.Delete(ctx, c)).To(Succeed())
g.Expect(env.CleanupAndWait(ctx, c)).To(Succeed())
}

// Delete the ClusterClasses in the API server.
Expand Down

0 comments on commit 1bc99f6

Please sign in to comment.