Skip to content

Commit

Permalink
add the option to destroy import idp resources
Browse files Browse the repository at this point in the history
  • Loading branch information
shellymiron authored and openshift-merge-bot[bot] committed Jan 8, 2024
1 parent 2204789 commit b7eeee1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/e2e/idps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,11 +780,13 @@ var _ = Describe("TF Test", func() {
})

AfterEach(func() {
err := idpService.google.Destroy()
Expect(err).ToNot(HaveOccurred())

By("Clean resources after test")
err = idpService.gitlab.Destroy()
Expect(err).ToNot(HaveOccurred())

_, importErr := importService.Destroy()
Expect(importErr).ToNot(HaveOccurred())
})

Context("Author:smiron-Medium-OCP-65981 @OCP-65981 @smiron", func() {
Expand Down

0 comments on commit b7eeee1

Please sign in to comment.