Skip to content

Commit

Permalink
Assert no error when querying labels
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
  • Loading branch information
fpetkovski committed Apr 12, 2023
1 parent 2944254 commit b46fdc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/receive/multitsdb_test.go
Expand Up @@ -641,7 +641,7 @@ func TestProxyLabelValues(t *testing.T) {
case <-ctx.Done():
return
default:
queryLabelValues(ctx, m)
testutil.Ok(t, queryLabelValues(ctx, m))
}
}
}()
Expand Down Expand Up @@ -693,7 +693,7 @@ func queryLabelValues(ctx context.Context, m *MultiTSDB) error {
clients[0] = &slowClient{clients[0]}
}
return clients
}, component.Store, nil, 1*time.Minute, store.LazyRetrieval, nil)
}, component.Store, nil, 1*time.Minute, store.LazyRetrieval)

req := &storepb.LabelValuesRequest{
Label: labels.MetricName,
Expand Down

0 comments on commit b46fdc9

Please sign in to comment.