component-base/tracing: initialize tests with klog verbosity level 2

Signed-off-by: Daman Arora <aroradaman@gmail.com>
This commit is contained in:
Daman Arora 2024-07-13 13:15:59 +05:30
parent 1740d85aff
commit 37eb06efb0

View File

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