use log functions of core framework

This commit is contained in:
hwdef
2019-08-27 14:03:02 +08:00
parent 12e6930d8a
commit 888c8476a9
13 changed files with 55 additions and 67 deletions

View File

@@ -22,7 +22,6 @@ import (
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/test/e2e/framework"
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
instrumentation "k8s.io/kubernetes/test/e2e/instrumentation/common"
"k8s.io/kubernetes/test/e2e/instrumentation/logging/utils"
@@ -156,7 +155,7 @@ var _ = instrumentation.SIGDescribe("Cluster level logging implemented by Stackd
podName := fmt.Sprintf("synthlogger-%s", string(uuid.NewUUID()))
err := utils.NewLoadLoggingPod(podName, "", 1, 1*time.Second).Start(f)
if err != nil {
e2elog.Logf("Failed to create a logging pod: %v", err)
framework.Logf("Failed to create a logging pod: %v", err)
}
return false, nil
}, stopCh)