mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-23 11:39:32 +02:00
Currently there appears to be a test order dependency between a couple of the info_test.go test cases and the Test_PrometheusHandler test. This can be exposed by running: go test -count 2 ./internal/telemetry/metrics The test cases in info_test.go overwrite the global 'registry' variable, which seems to prevent Test_PrometheusHandler from being able to export the internal Go metrics. Add a helper method to restore the original registry after these test cases. |
||
---|---|---|
.. | ||
autocert.go | ||
const.go | ||
doc.go | ||
envoy.go | ||
grpc.go | ||
grpc_test.go | ||
helpers_test.go | ||
http.go | ||
http_test.go | ||
info.go | ||
info_test.go | ||
processes.go | ||
processes_test.go | ||
providers.go | ||
providers_test.go | ||
registry.go | ||
storage.go | ||
storage_test.go |