mirror of
https://github.com/status-im/consul.git
synced 2025-02-20 01:18:49 +00:00
acl: fix test failure
For some reason removing legacy ACL upgrade requires using an ACL token now for this WaitForLeader.
This commit is contained in:
parent
5c721832dc
commit
3d7c07e1e4
@ -538,7 +538,7 @@ func TestACLReplication_Policies(t *testing.T) {
|
|||||||
// Try to join.
|
// Try to join.
|
||||||
joinWAN(t, s2, s1)
|
joinWAN(t, s2, s1)
|
||||||
testrpc.WaitForLeader(t, s1.RPC, "dc1")
|
testrpc.WaitForLeader(t, s1.RPC, "dc1")
|
||||||
testrpc.WaitForLeader(t, s1.RPC, "dc2")
|
testrpc.WaitForLeader(t, s1.RPC, "dc2", testrpc.WithToken("root"))
|
||||||
waitForNewACLReplication(t, s2, structs.ACLReplicatePolicies, 1, 0, 0)
|
waitForNewACLReplication(t, s2, structs.ACLReplicatePolicies, 1, 0, 0)
|
||||||
|
|
||||||
// Create a bunch of new policies
|
// Create a bunch of new policies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user