config test bugfix

This commit is contained in:
siddontang 2014-08-15 11:42:18 +08:00
parent a3f402c6bd
commit ed9f1e9ac8
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ func TestConfig(t *testing.T) {
dstCfg.LevelDB.CacheSize = 524288000 dstCfg.LevelDB.CacheSize = 524288000
dstCfg.LevelDB.MaxOpenFiles = 1024 dstCfg.LevelDB.MaxOpenFiles = 1024
dstCfg.LMDB.MapSize = 524288000 dstCfg.LMDB.MapSize = 524288000
dstCfg.LMDB.NoSync = true
cfg, err := NewConfigWithFile("./config.toml") cfg, err := NewConfigWithFile("./config.toml")
if err != nil { if err != nil {