From 9f8f62b548a7c38093b260869961f527d78b0a53 Mon Sep 17 00:00:00 2001 From: siddontang Date: Mon, 16 Mar 2015 14:13:40 +0800 Subject: [PATCH] fix test error --- ledis/ledis_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ledis/ledis_test.go b/ledis/ledis_test.go index a0c9879..de308e7 100644 --- a/ledis/ledis_test.go +++ b/ledis/ledis_test.go @@ -14,6 +14,7 @@ func getTestDB() *DB { f := func() { cfg := config.NewConfigDefault() cfg.DataDir = "/tmp/test_ledis" + cfg.Databases = 10240 os.RemoveAll(cfg.DataDir)