File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ import (
24
24
"testing"
25
25
"time"
26
26
27
- "github.com/m-lab/go/prometheusx"
28
-
29
27
"cloud.google.com/go/datastore"
30
28
"github.com/m-lab/epoxy/storage"
29
+ "github.com/m-lab/go/prometheusx/promtest"
31
30
"google.golang.org/api/option"
32
31
)
33
32
@@ -76,7 +75,7 @@ func Test_setupMetricsHandler(t *testing.T) {
76
75
},
77
76
}
78
77
setupMetrics (dsCfg )
79
- prometheusx .LintMetrics (t )
78
+ promtest .LintMetrics (t )
80
79
}
81
80
82
81
func Test_main (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ import (
23
23
"testing"
24
24
"time"
25
25
26
- "github.com/m-lab/go/prometheusx"
27
-
28
26
"github.com/m-lab/epoxy/storage"
27
+ "github.com/m-lab/go/prometheusx/promtest"
29
28
"github.com/prometheus/client_golang/prometheus"
30
29
"github.com/prometheus/client_golang/prometheus/promhttp"
31
30
)
@@ -99,5 +98,5 @@ func TestMetrics(t *testing.T) {
99
98
// Lint the normal prometheus metrics.
100
99
Stage1Total .WithLabelValues ("x" )
101
100
RequestDuration .WithLabelValues ("x" )
102
- prometheusx .LintMetrics (t )
101
+ promtest .LintMetrics (t )
103
102
}
You can’t perform that action at this time.
0 commit comments