bbolt sync-freelist ignored

This commit is contained in:
ErikEk
2021-07-15 21:42:05 +02:00
parent 3800cd9433
commit d5463818a8
8 changed files with 47 additions and 18 deletions

View File

@@ -20,5 +20,5 @@ func TestDBDefaultConfig(t *testing.T) {
require.Equal(t, kvdb.DefaultDBTimeout, defaultConfig.Bolt.DBTimeout)
// Implicitly, the following fields are default to false.
require.False(t, defaultConfig.Bolt.AutoCompact)
require.False(t, defaultConfig.Bolt.SyncFreelist)
require.True(t, defaultConfig.Bolt.NoFreelistSync)
}