From ed9f1e9ac86f696c7552eb978b4f7a98d0516b87 Mon Sep 17 00:00:00 2001 From: siddontang Date: Fri, 15 Aug 2014 11:42:18 +0800 Subject: [PATCH] config test bugfix --- config/config_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config_test.go b/config/config_test.go index 14620ec..943c513 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -18,6 +18,7 @@ func TestConfig(t *testing.T) { dstCfg.LevelDB.CacheSize = 524288000 dstCfg.LevelDB.MaxOpenFiles = 1024 dstCfg.LMDB.MapSize = 524288000 + dstCfg.LMDB.NoSync = true cfg, err := NewConfigWithFile("./config.toml") if err != nil {