Skip to content

Commit 080650e

Browse files
committed
Update to new klog cmdline options
1 parent a5f4501 commit 080650e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/e2e/e2e_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77

88
"github.com/onsi/ginkgo/v2"
99

10-
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
1110
"k8s.io/klog/v2"
1211
"k8s.io/kubernetes/test/e2e/framework"
1312
"k8s.io/kubernetes/test/e2e/framework/config"
@@ -17,10 +16,6 @@ import (
1716
)
1817

1918
func TestMain(m *testing.M) {
20-
klog.InitFlags(nil)
21-
utilruntime.Must(flag.Set("logtostderr", "false"))
22-
utilruntime.Must(flag.Set("alsologtostderr", "false"))
23-
utilruntime.Must(flag.Set("one_output", "true"))
2419
klog.SetOutput(ginkgo.GinkgoWriter)
2520

2621
// Register framework flags, then handle flags.

0 commit comments

Comments
 (0)