diff --git a/http/logical_test.go b/http/logical_test.go index 8ae7f2a65c..d38b616588 100644 --- a/http/logical_test.go +++ b/http/logical_test.go @@ -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, }