Browse Source

fix tests

pull/1842/head
Ethan Buchman 8 years ago
parent
commit
72f6dacd22
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      c_level_db_test.go
  2. +1
    -1
      go_level_db_test.go

+ 1
- 1
c_level_db_test.go 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 := NewCLevelDB(Fmt("test_%x", RandStr(12)), "")
if err != nil {
b.Fatal(err.Error())
return


+ 1
- 1
go_level_db_test.go View File

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


Loading…
Cancel
Save