Skip to content

Commit 337ed7c

Browse files
UPSTREAM: <carry>: Enhance clenup cluster catalog created for webhook tests
1 parent 9319f22 commit 337ed7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openshift/tests-extension/test/webhooks.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ var _ = Describe("[sig-olmv1][OCPFeatureGate:NewOLMWebhookProviderOpenshiftServi
9595
}
9696
})
9797

98+
AfterAll(func(ctx SpecContext) {
99+
helpers.EnsureCleanupClusterCatalog(ctx, webhookCatalogName)
100+
})
101+
98102
It("should have a working validating webhook", func(ctx SpecContext) {
99103
By("creating a webhook test resource that will be rejected by the validating webhook")
100104
Eventually(func() error {

0 commit comments

Comments
 (0)