Sync slaves before checking MaxScale is alive

Synchronizing the slaves before checking that MaxScale is still alive
makes sure the slave servers have settled down to a known state.
This commit is contained in:
Markus Mäkelä
2018-01-30 09:17:09 +02:00
parent cbfee5698f
commit 524e55bf52

View File

@ -19,6 +19,7 @@ int main(int argc, char *argv[])
different_packet_size(Test, false);
Test->repl->sync_slaves();
Test->check_maxscale_alive(0);
int rval = Test->global_result;
delete Test;