User: Add tracing (#87028)
* Inject tracer in tests * Annotate with traces Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
co-authored by
Gabriel MABILLE
parent
7f1b2ef205
commit
a2cba3d0b5
@@ -214,7 +214,10 @@ func setupDB(b testing.TB) benchScenario {
|
||||
require.NoError(b, err)
|
||||
|
||||
cache := localcache.ProvideService()
|
||||
userSvc, err := userimpl.ProvideService(db, orgService, cfg, teamSvc, cache, "atest.FakeQuotaService{}, bundleregistry.ProvideService())
|
||||
userSvc, err := userimpl.ProvideService(
|
||||
db, orgService, cfg, teamSvc, cache, tracing.InitializeTracerForTest(),
|
||||
"atest.FakeQuotaService{}, bundleregistry.ProvideService(),
|
||||
)
|
||||
require.NoError(b, err)
|
||||
|
||||
var orgID int64 = 1
|
||||
|
||||
Reference in New Issue
Block a user