From ac9e632893572601b06695f9f7618d0f461e5dc2 Mon Sep 17 00:00:00 2001 From: alanprot Date: Fri, 22 Mar 2024 15:34:06 -0700 Subject: [PATCH] sort values Signed-off-by: alanprot --- pkg/querier/blocks_store_queryable_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/querier/blocks_store_queryable_test.go b/pkg/querier/blocks_store_queryable_test.go index 86461fb922..de1cfaa231 100644 --- a/pkg/querier/blocks_store_queryable_test.go +++ b/pkg/querier/blocks_store_queryable_test.go @@ -908,6 +908,7 @@ func BenchmarkBlocksStoreQuerier_Labels(b *testing.B) { for j := i; j < i+300; j++ { values = append(values, fmt.Sprintf("Value_%v", j)) } + sort.Strings(values) resps[&storeGatewayClientMock{ remoteAddr: "1.1.1.1", mockedLabelValuesResponse: &storepb.LabelValuesResponse{