Skip to content

Commit

Permalink
Merge pull request #7589 from killianmuldoon/fix-flaky-clusterclass-d…
Browse files Browse the repository at this point in the history
…elete

🐛 Add CleanupAndWait call for flaky ClusterClass test
  • Loading branch information
k8s-ci-robot authored Nov 23, 2022
2 parents d7c77b5 + 1bc99f6 commit cf62fe9
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 cf62fe9

Please sign in to comment.