TSDB: Fix master tests (#7705)

Now appenders take a context.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2020-07-31 17:33:54 +02:00 committed by GitHub
parent e6d7cc5fa4
commit 30e079bbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,7 +410,7 @@ func TestBlockQuerier_AgainstHeadWithOpenChunks(t *testing.T) {
testutil.Ok(t, err)
defer h.Close()
app := h.Appender()
app := h.Appender(context.Background())
for _, s := range testData {
for _, chk := range s.chunks {
for _, sample := range chk {