Skip to content

Commit

Permalink
Merge 7ff31ea into da86079
Browse files Browse the repository at this point in the history
  • Loading branch information
pboothe committed Feb 19, 2019
2 parents da86079 + 7ff31ea commit cbfc45c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metrics/metrics_test.go
Expand Up @@ -2,6 +2,7 @@ package metrics_test

import (
"bytes"
"context"
"io/ioutil"
"log"
"net/http"
Expand All @@ -13,7 +14,7 @@ import (

func TestPrometheusMetrics(t *testing.T) {
server := metrics.SetupPrometheus(0)
defer server.Shutdown(nil)
defer server.Shutdown(context.Background())
log.Println(server.Addr)

metricReader, err := http.Get("http://" + server.Addr + "/metrics")
Expand Down
2 changes: 1 addition & 1 deletion travis

0 comments on commit cbfc45c

Please sign in to comment.