mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Allow disabling the physical storage cache with 'disable_cache'.
Fixes #674.
This commit is contained in:
@@ -36,6 +36,7 @@ func TestLoadConfigFile(t *testing.T) {
|
||||
DisableHostname: false,
|
||||
},
|
||||
|
||||
DisableCache: true,
|
||||
DisableMlock: true,
|
||||
|
||||
MaxLeaseTTL: 10 * time.Hour,
|
||||
@@ -128,6 +129,7 @@ func TestLoadConfigDir(t *testing.T) {
|
||||
}
|
||||
|
||||
expected := &Config{
|
||||
DisableCache: true,
|
||||
DisableMlock: true,
|
||||
|
||||
Listeners: []*Listener{
|
||||
|
||||
Reference in New Issue
Block a user