Skip to content

Commit

Permalink
Remove unnecessary param from vlog.open in tests (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Jarif authored Sep 18, 2019
1 parent 75c6a44 commit db73862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func TestValueGC4(t *testing.T) {
err = kv.vlog.Close()
require.NoError(t, err)

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

for i := 0; i < 8; i++ {
Expand Down Expand Up @@ -629,7 +629,7 @@ func TestPartialAppendToValueLog(t *testing.T) {
// Replay value log from beginning, badger head is past k2.
require.NoError(t, kv.vlog.Close())
require.NoError(t,
kv.vlog.open(kv, valuePointer{Fid: 0}, kv.replayFunction(), true))
kv.vlog.open(kv, valuePointer{Fid: 0}, kv.replayFunction()))
require.NoError(t, kv.Close())
}

Expand Down

0 comments on commit db73862

Please sign in to comment.