mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:03:01 +08:00
Chore: Make test tracer noop and return no errors (#50797)
This commit is contained in:
@ -14,8 +14,7 @@ import (
|
||||
|
||||
func newBus(t *testing.T) bus.Bus {
|
||||
t.Helper()
|
||||
tracer, err := tracing.InitializeTracerForTest()
|
||||
require.NoError(t, err)
|
||||
tracer := tracing.InitializeTracerForTest()
|
||||
return bus.ProvideBus(tracer)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user