Skip to content

Commit

Permalink
debug main upgrade ci
Browse files Browse the repository at this point in the history
Signed-off-by: tao.yang <[email protected]>
  • Loading branch information
ty-dc committed Jun 22, 2024
1 parent d74fc07 commit 74c9a7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/e2e/spidermultus/spidermultus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ var _ = Describe("test spidermultus", Label("SpiderMultusConfig", "overlay"), fu
namespace = "ns-" + common.GenerateString(10, true)
err := frame.CreateNamespaceUntilDefaultServiceAccountReady(namespace, common.ServiceAccountReadyTimeout)
Expect(err).NotTo(HaveOccurred())

DeferCleanup(func() {
if CurrentSpecReport().Failed() {
GinkgoWriter.Println("If the use case fails, the cleanup step will be skipped")
return
}

err := frame.DeleteNamespace(namespace)
Expect(err).NotTo(HaveOccurred(), "Failed to delete namespace %v")
})
Expand Down

0 comments on commit 74c9a7d

Please sign in to comment.