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:
Clayton Coleman
2021-01-20 14:45:22 -05:00
parent 737858cd7c
commit 02a13a4a39
2 changed files with 2 additions and 3 deletions

View File

@@ -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)
}