Skip to content

Commit

Permalink
Fix store-pre-0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetkovski committed Jun 16, 2023
1 parent 0269aea commit 90a7f3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/query/internal/test-storeset-pre-v0.8.0/storeset.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ func (s *storeRef) SupportsWithoutReplicaLabels() bool {
return false
}

func (s *storeRef) SupportsSortWithoutExternalLabels() bool {
return false
}

func (s *storeRef) String() string {
mint, maxt := s.TimeRange()
return fmt.Sprintf(
Expand Down
1 change: 1 addition & 0 deletions pkg/store/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ func TestProxyStore_Series(t *testing.T) {
for _, s := range tc.storeAPIs {
cl := s.(*storetestutil.TestClient)
cl.WithoutReplicaLabelsEnabled = replicaLabelSupport
cl.SortWithoutExtLabels = true
}
for _, strategy := range []RetrievalStrategy{EagerRetrieval, LazyRetrieval} {
t.Run(string(strategy), func(t *testing.T) {
Expand Down

0 comments on commit 90a7f3f

Please sign in to comment.