mirror of
https://github.com/prometheus/prometheus
synced 2026-04-21 23:21:44 +08:00
Since we dependend on go1.14 now, we can use T.Cleanup https://golang.org/pkg/testing/#T.Cleanup This provides a nicer approach to shut down the test server. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>