File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
"path"
9
9
"sync"
10
10
11
- "github.com/cortexproject/cortex/pkg/api/query"
12
11
"github.com/go-kit/log"
13
12
"github.com/go-kit/log/level"
14
13
"github.com/gorilla/mux"
@@ -26,6 +25,7 @@ import (
26
25
"github.com/weaveworks/common/instrument"
27
26
"github.com/weaveworks/common/middleware"
28
27
28
+ "github.com/cortexproject/cortex/pkg/api/query"
29
29
"github.com/cortexproject/cortex/pkg/querier"
30
30
"github.com/cortexproject/cortex/pkg/querier/codec"
31
31
"github.com/cortexproject/cortex/pkg/querier/stats"
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func (mockQuerier) Close() error {
63
63
return nil
64
64
}
65
65
66
- func Test_CustomAPI (t * testing.T ) {
66
+ func Test_QueryAPI (t * testing.T ) {
67
67
engine := promql .NewEngine (promql.EngineOpts {
68
68
MaxSamples : 100 ,
69
69
Timeout : time .Second * 2 ,
@@ -243,7 +243,7 @@ func Test_InvalidCodec(t *testing.T) {
243
243
require .Equal (t , http .StatusNotAcceptable , rec .Code )
244
244
}
245
245
246
- func Test_CustomAPI_StatsRenderer (t * testing.T ) {
246
+ func Test_QueryAPI_StatsRenderer (t * testing.T ) {
247
247
engine := promql .NewEngine (promql.EngineOpts {
248
248
MaxSamples : 100 ,
249
249
Timeout : time .Second * 2 ,
You can’t perform that action at this time.
0 commit comments