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) testutil.Ok(t, err)
defer func() { testutil.Ok(t, querier.Close()) }() defer func() { testutil.Ok(t, querier.Close()) }()
seriesSet, _, err := querier.Select(false, nil, &labels.Matcher{Type: labels.MatchEqual, Name: "a", Value: "b"}) seriesSet := querier.Select(false, nil, &labels.Matcher{Type: labels.MatchEqual, Name: "a", Value: "b"})
testutil.Ok(t, err)
var actSamples []sample var actSamples []sample
for seriesSet.Next() { for seriesSet.Next() {