Sync slaves after creating new users

After the users in the local_address test are created, the slaves need to
be synced to make sure that users have replicated to all servers.
This commit is contained in:
Markus Mäkelä 2018-02-15 11:28:14 +02:00
parent 1042b861bb
commit b1300fdb01
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -277,6 +277,7 @@ void run_test(TestConnections& test, const vector<string>& ips)
create_user_and_grants(test, zUser1, zPassword1, local_ip);
create_user_and_grants(test, zUser2, zPassword2, ip2);
create_user_and_grants(test, zUser2, zPassword2, local_ip);
test.repl->sync_slaves();
test.tprintf("\n");
test.tprintf("Testing default; alice should be able to access, bob not.");