Wait for the monitor in mxs559_block_master

The test seems to fail from time to time due to the monitor not picking up
the master state fast enough. To prevent this, the test needs to wait for
at least one monitor interval.
This commit is contained in:
Markus Mäkelä
2019-04-17 09:19:09 +03:00
parent d3bfe0a712
commit 54cb6991d1

View File

@ -114,6 +114,7 @@ int main(int argc, char* argv[])
test.try_query(test.maxscales->conn_rwsplit[0], "DROP TABLE IF EXISTS t1");
test.maxscales->close_maxscale_connections(0);
test.maxscales->wait_for_monitor();
test.check_maxscale_alive(0);
test.log_excludes(0, "due to authentication failure");
test.log_excludes(0, "due to handshake failure");