sourcegraph/internal/diskcache
Keegan Carruthers-Smith e9d0d57d81
all: use observation.TestContextTB instead of TestContext (#61751)
observation.TestContextTB is better to use since your logs will be
scoped to your test and it will use a more pedantic prometheus registry.
To be honest TestContext should be removed but this is the first step.

This is a mechanical change. I replaced "&observation.TestContext" with
"observation.TestContextTB(t)". I then undid the change each time it
caused a compilation error (was only a handful of times).

Test Plan: go test
2024-04-10 14:07:39 +02:00
..
BUILD.bazel Tracing: remove opentracing (#52978) 2023-06-06 11:02:15 -06:00
cache_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
cache.go Simplify goroutine params (#61009) 2024-03-12 09:05:55 -07:00
CODENOTIFY all: add keegancsmith to CODENOTIFY for many pkgs (#14241) 2020-09-29 11:03:53 +02:00
context.go all: use any instead of interface{} (#35102) 2022-05-09 10:59:39 +02:00
observability.go observability: build+propagate hierarchical observation contexts for telemetry provenance (#42765) 2022-12-05 21:52:30 +00:00
url_mutex.go Rename pkg to internal (#5898) 2019-10-07 15:36:41 -07:00