adjust compaction test with badger to hit the db

This commit is contained in:
vyzo 2021-07-23 12:07:38 +03:00
parent 9d5cf4177b
commit 9faa3d5fd7

View File

@ -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"})
}