Fix TSDB test failure (#7394)

PR #7338 was not rebased on top of master and interface had changed.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-06-14 18:37:23 +02:00 committed by GitHub
parent ab6203b7c7
commit f893786153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2910,8 +2910,7 @@ func TestCompactHead(t *testing.T) {
testutil.Ok(t, err)
defer func() { testutil.Ok(t, querier.Close()) }()
seriesSet, _, err := querier.Select(false, nil, &labels.Matcher{Type: labels.MatchEqual, Name: "a", Value: "b"})
testutil.Ok(t, err)
seriesSet := querier.Select(false, nil, &labels.Matcher{Type: labels.MatchEqual, Name: "a", Value: "b"})
var actSamples []sample
for seriesSet.Next() {