test/e2e/framework: Log arguments at a higher level
Both of these are explicit arguments and are more elegantly logged in a test framework by logging the arguments to the test. The namespaces to be deleted are already logged inside WaitForNamespacesDeleted
This commit is contained in:
@@ -247,7 +247,6 @@ func setupSuite() {
|
||||
if err != nil {
|
||||
framework.Failf("Error deleting orphaned namespaces: %v", err)
|
||||
}
|
||||
klog.Infof("Waiting for deletion of the following namespaces: %v", deleted)
|
||||
if err := framework.WaitForNamespacesDeleted(c, deleted, namespaceCleanupTimeout); err != nil {
|
||||
framework.Failf("Failed to delete orphaned namespaces %v: %v", deleted, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user