mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
TSDB: Fix master tests (#7705)
Now appenders take a context. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
e6d7cc5fa4
commit
30e079bbd5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user