Skip to content

Commit b290caf

Browse files
committed
package moved
1 parent b7f9a88 commit b290caf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

cmd/epoxy_boot_server/main_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ import (
2424
"testing"
2525
"time"
2626

27-
"github.com/m-lab/go/prometheusx"
28-
2927
"cloud.google.com/go/datastore"
3028
"github.com/m-lab/epoxy/storage"
29+
"github.com/m-lab/go/prometheusx/promtest"
3130
"google.golang.org/api/option"
3231
)
3332

@@ -76,7 +75,7 @@ func Test_setupMetricsHandler(t *testing.T) {
7675
},
7776
}
7877
setupMetrics(dsCfg)
79-
prometheusx.LintMetrics(t)
78+
promtest.LintMetrics(t)
8079
}
8180

8281
func Test_main(t *testing.T) {

metrics/metrics_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ import (
2323
"testing"
2424
"time"
2525

26-
"github.com/m-lab/go/prometheusx"
27-
2826
"github.com/m-lab/epoxy/storage"
27+
"github.com/m-lab/go/prometheusx/promtest"
2928
"github.com/prometheus/client_golang/prometheus"
3029
"github.com/prometheus/client_golang/prometheus/promhttp"
3130
)
@@ -99,5 +98,5 @@ func TestMetrics(t *testing.T) {
9998
// Lint the normal prometheus metrics.
10099
Stage1Total.WithLabelValues("x")
101100
RequestDuration.WithLabelValues("x")
102-
prometheusx.LintMetrics(t)
101+
promtest.LintMetrics(t)
103102
}

0 commit comments

Comments
 (0)