mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 06:04:05 -08:00
Add missing param to NewHead call in test. (#6725)
Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
parent
08c5549055
commit
83601202d9
|
@ -1276,7 +1276,7 @@ func TestAddDuplicateLabelName(t *testing.T) {
|
||||||
wlog, err := wal.NewSize(nil, nil, dir, 32768, false)
|
wlog, err := wal.NewSize(nil, nil, dir, 32768, false)
|
||||||
testutil.Ok(t, err)
|
testutil.Ok(t, err)
|
||||||
|
|
||||||
h, err := NewHead(nil, nil, wlog, 1000)
|
h, err := NewHead(nil, nil, wlog, 1000, DefaultStripeSize)
|
||||||
testutil.Ok(t, err)
|
testutil.Ok(t, err)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue