From b1300fdb01ace7a4b795736da4b305cb24a75317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 15 Feb 2018 11:28:14 +0200 Subject: [PATCH] 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. --- maxscale-system-test/local_address.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/maxscale-system-test/local_address.cpp b/maxscale-system-test/local_address.cpp index ec6ee594d..1233c3cf2 100644 --- a/maxscale-system-test/local_address.cpp +++ b/maxscale-system-test/local_address.cpp @@ -277,6 +277,7 @@ void run_test(TestConnections& test, const vector& 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.");