Add GinkgoRecover in goroutines
This commit is contained in:
parent
b5f644f605
commit
4ad97afdb3
3 changed files with 4 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ func (f *Framework) BeforeEach() {
|
|||
func (f *Framework) AfterEach() {
|
||||
defer func(kubeClient kubernetes.Interface, ns string) {
|
||||
go func() {
|
||||
defer ginkgo.GinkgoRecover()
|
||||
err := deleteKubeNamespace(kubeClient, ns)
|
||||
assert.Nil(ginkgo.GinkgoT(), err, "deleting namespace %v", f.Namespace)
|
||||
}()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue