Skip to content

Commit 584e147

Browse files
author
Ibrahim Jarif
committed
Remove unnecessary param from vlog.open in tests (#1043)
(cherry picked from commit db73862)
1 parent 88552e7 commit 584e147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

value_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ func TestValueGC4(t *testing.T) {
405405
err = kv.vlog.Close()
406406
require.NoError(t, err)
407407

408-
err = kv.vlog.open(kv, valuePointer{Fid: 2}, kv.replayFunction(), true)
408+
err = kv.vlog.open(kv, valuePointer{Fid: 2}, kv.replayFunction())
409409
require.NoError(t, err)
410410

411411
for i := 0; i < 8; i++ {
@@ -628,7 +628,7 @@ func TestPartialAppendToValueLog(t *testing.T) {
628628
// Replay value log from beginning, badger head is past k2.
629629
require.NoError(t, kv.vlog.Close())
630630
require.NoError(t,
631-
kv.vlog.open(kv, valuePointer{Fid: 0}, kv.replayFunction(), true))
631+
kv.vlog.open(kv, valuePointer{Fid: 0}, kv.replayFunction()))
632632
require.NoError(t, kv.Close())
633633
}
634634

0 commit comments

Comments
 (0)