mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08: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)
|
testutil.Ok(t, err)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
app := h.Appender()
|
app := h.Appender(context.Background())
|
||||||
for _, s := range testData {
|
for _, s := range testData {
|
||||||
for _, chk := range s.chunks {
|
for _, chk := range s.chunks {
|
||||||
for _, sample := range chk {
|
for _, sample := range chk {
|
||||||
|
|
Loading…
Reference in a new issue