diff --git a/pkg/store/prometheus_test.go b/pkg/store/prometheus_test.go index ac7060a04a4..f4b694e5bae 100644 --- a/pkg/store/prometheus_test.go +++ b/pkg/store/prometheus_test.go @@ -218,17 +218,6 @@ func TestPrometheusStore_SeriesLabels_e2e(t *testing.T) { }, expectedErr: errors.New("rpc error: code = InvalidArgument desc = no matchers specified (excluding external labels)"), }, - { - req: &storepb.SeriesRequest{ - SkipChunks: true, - Matchers: []storepb.LabelMatcher{ - {Type: storepb.LabelMatcher_RE, Name: "wrong-chars-in-label-name(hyphen)", Value: "adsf"}, - }, - MinTime: baseT - 10000000000, - MaxTime: baseT + 10000000000, - }, - expectedErr: errors.New("rpc error: code = InvalidArgument desc = expected 2xx response, got 400. Body: {\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"invalid parameter \\\"match[]\\\": 1:7: parse error: unexpected character inside braces: '-'\"}"), - }, { req: &storepb.SeriesRequest{ SkipChunks: true,