Skip to content

Commit

Permalink
adjust compaction test with badger to hit the db
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Jul 23, 2021
1 parent 81e4bf7 commit cac58e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions blockstore/splitstore/splitstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ func TestSplitStoreCompaction(t *testing.T) {
}

func TestSplitStoreCompactionWithBadger(t *testing.T) {
bs := badgerMarkSetBatchSize
badgerMarkSetBatchSize = 1
t.Cleanup(func() {
badgerMarkSetBatchSize = bs
})
testSplitStore(t, &Config{MarkSetType: "badger"})
}

Expand Down

0 comments on commit cac58e9

Please sign in to comment.