We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c077a1 commit eb837eeCopy full SHA for eb837ee
1 file changed
tests/e2e/helper_test.go
@@ -330,8 +330,10 @@ func (l *lbTestHelper) TearDown() {
330
}
331
return k8serrors.IsNotFound(err), nil
332
})
333
- // The cluster is deleted afterward, so we can info log this error
334
- l.t.Logf("error tearing down test namespace: %v", err)
+ if err != nil {
+ // The cluster is deleted afterward, so we can info log this error
335
+ l.t.Logf("error tearing down test namespace: %v", err)
336
+ }
337
338
339
// WaitForHTTPAvailable tries to connect to the given IP via HTTP or HTTPS
0 commit comments