mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-10 17:10:12 -04:00
Each test creates its own httptest.Server and prometheus.Registry so there is no shared global state between them. Adding t.Parallel() to all 13 top-level test functions and the subtests in TestUnmarshalConfig allows the Go test runner to overlap them, cutting wall-clock time. Refs: #15185 Signed-off-by: Ogulcan Aydogan <ogulcanaydogan@hotmail.com> |
||
|---|---|---|
| .. | ||
| consul.go | ||
| consul_test.go | ||
| metrics.go | ||