Update locking components from DR replication changes (#3283)

* Update locking components from DR replication changes

* Fix plugin backend test

* Add a comment about needing the statelock:
This commit is contained in:
Brian Kassouf
2017-09-04 16:38:37 -07:00
committed by Jeff Mitchell
parent 00de6d0599
commit de7f39e064
8 changed files with 46 additions and 44 deletions

View File

@@ -117,7 +117,7 @@ func TestSystem_replicationState(t *testing.T) {
defer client.Close()
sys := logical.TestSystemView()
sys.ReplicationStateVal = consts.ReplicationPrimary
sys.ReplicationStateVal = consts.ReplicationPerformancePrimary
server.RegisterName("Plugin", &SystemViewServer{
impl: sys,