Cleanup e2e tests
This commit is contained in:
parent
ff1718e57f
commit
3b31b9a0a8
2 changed files with 42 additions and 51 deletions
|
|
@ -101,6 +101,8 @@ var _ = framework.IngressNginxDescribe("[Status] status update", func() {
|
|||
_, cmd, err = f.KubectlProxy(port)
|
||||
assert.Nil(ginkgo.GinkgoT(), err, "unexpected error starting kubectl proxy")
|
||||
defer func() {
|
||||
defer ginkgo.GinkgoRecover()
|
||||
|
||||
if cmd != nil {
|
||||
err := cmd.Process.Kill()
|
||||
assert.Nil(ginkgo.GinkgoT(), err, "unexpected error terminating kubectl proxy")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue