Skip to content

Commit

Permalink
Removing e2e test case with unvalid hifen on a matcher -> prometheus …
Browse files Browse the repository at this point in the history
…now support this use case

Signed-off-by: alanprot <[email protected]>
  • Loading branch information
alanprot committed Jun 6, 2024
1 parent 15f804e commit e930f77
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pkg/store/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e930f77

Please sign in to comment.