mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
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:
committed by
Jeff Mitchell
parent
00de6d0599
commit
de7f39e064
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user