From 214d3e259db5162c8ffedad5a71fa8d85f6e3018 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 17 Dec 2015 13:58:16 -0500 Subject: [PATCH] Fix StandbyRedirect test --- http/logical_test.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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, }