mirror of https://github.com/ledisdb/ledisdb.git
fix test error
This commit is contained in:
parent
2ec83580ac
commit
9f8f62b548
|
@ -14,6 +14,7 @@ func getTestDB() *DB {
|
|||
f := func() {
|
||||
cfg := config.NewConfigDefault()
|
||||
cfg.DataDir = "/tmp/test_ledis"
|
||||
cfg.Databases = 10240
|
||||
|
||||
os.RemoveAll(cfg.DataDir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue