Fix StandbyRedirect test

This commit is contained in:
Jeff Mitchell 2015-12-17 13:58:16 -05:00
parent 45cb110473
commit 214d3e259d

View file

@ -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,
}