mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-11 01:42:06 -04:00
Fix StandbyRedirect test
This commit is contained in:
parent
45cb110473
commit
214d3e259d
1 changed files with 5 additions and 3 deletions
|
|
@ -69,9 +69,10 @@ func TestLogical_StandbyRedirect(t *testing.T) {
|
|||
defer ln2.Close()
|
||||
|
||||
// Create an HA Vault
|
||||
inm := physical.NewInmem()
|
||||
inmha := physical.NewInmemHA()
|
||||
conf := &vault.CoreConfig{
|
||||
Physical: inm,
|
||||
Physical: inmha,
|
||||
HAPhysical: inmha,
|
||||
AdvertiseAddr: addr1,
|
||||
DisableMlock: true,
|
||||
}
|
||||
|
|
@ -86,7 +87,8 @@ func TestLogical_StandbyRedirect(t *testing.T) {
|
|||
|
||||
// Create a second HA Vault
|
||||
conf2 := &vault.CoreConfig{
|
||||
Physical: inm,
|
||||
Physical: inmha,
|
||||
HAPhysical: inmha,
|
||||
AdvertiseAddr: addr2,
|
||||
DisableMlock: true,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue