fix test error

This commit is contained in:
siddontang 2015-03-16 14:13:40 +08:00
parent 2ec83580ac
commit 9f8f62b548
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func getTestDB() *DB {
f := func() {
cfg := config.NewConfigDefault()
cfg.DataDir = "/tmp/test_ledis"
cfg.Databases = 10240
os.RemoveAll(cfg.DataDir)