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:
Daniel Nephin 2021-09-29 15:21:30 -04:00
parent ebb2388605
commit b866e3c4f4
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ func TestACLReplication_Policies(t *testing.T) {
// Try to join.
joinWAN(t, s2, s1)
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)
// Create a bunch of new policies