Skip to content

Commit

Permalink
component-base/tracing: initialize tests with klog verbosity level 2
Browse files Browse the repository at this point in the history
Signed-off-by: Daman Arora <aroradaman@gmail.com>

Kubernetes-commit: 37eb06efb041e0e40c5bd98f8a44963e5b14d98a
  • Loading branch information
aroradaman authored and k8s-publishing-bot committed Jul 13, 2024
1 parent a485d53 commit 4eb6831
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tracing/tracing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import (

func init() {
klog.InitFlags(flag.CommandLine)
flag.CommandLine.Lookup("logtostderr").Value.Set("false")
_ = flag.CommandLine.Lookup("logtostderr").Value.Set("false")
_ = flag.CommandLine.Lookup("v").Value.Set("2")
}

func TestOpenTelemetryTracing(t *testing.T) {
Expand Down

0 comments on commit 4eb6831

Please sign in to comment.