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 88 "path"
99 "sync"
1010
11- "github.com/cortexproject/cortex/pkg/api/query"
1211 "github.com/go-kit/log"
1312 "github.com/go-kit/log/level"
1413 "github.com/gorilla/mux"
@@ -26,6 +25,7 @@ import (
2625 "github.com/weaveworks/common/instrument"
2726 "github.com/weaveworks/common/middleware"
2827
28+ "github.com/cortexproject/cortex/pkg/api/query"
2929 "github.com/cortexproject/cortex/pkg/querier"
3030 "github.com/cortexproject/cortex/pkg/querier/codec"
3131 "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 {
6363 return nil
6464}
6565
66- func Test_CustomAPI (t * testing.T ) {
66+ func Test_QueryAPI (t * testing.T ) {
6767 engine := promql .NewEngine (promql.EngineOpts {
6868 MaxSamples : 100 ,
6969 Timeout : time .Second * 2 ,
@@ -243,7 +243,7 @@ func Test_InvalidCodec(t *testing.T) {
243243 require .Equal (t , http .StatusNotAcceptable , rec .Code )
244244}
245245
246- func Test_CustomAPI_StatsRenderer (t * testing.T ) {
246+ func Test_QueryAPI_StatsRenderer (t * testing.T ) {
247247 engine := promql .NewEngine (promql.EngineOpts {
248248 MaxSamples : 100 ,
249249 Timeout : time .Second * 2 ,
You can’t perform that action at this time.
0 commit comments