Fix tests; Support 'leveldb' for legacy

This commit is contained in:
Jae Kwon
2016-11-30 20:22:35 -08:00
parent 5ab5538d6c
commit 5e2a1d3e30
5 changed files with 12 additions and 7 deletions

View File

@ -18,7 +18,7 @@ func BenchmarkRandomReadsWrites2(b *testing.B) {
for i := 0; i < int(numItems); i++ {
internal[int64(i)] = int64(0)
}
db, err := NewGoLevelDB(Fmt("test_%x", RandStr(12)))
db, err := NewGoLevelDB(Fmt("test_%x", RandStr(12)), "")
if err != nil {
b.Fatal(err.Error())
return