fix kerberos test and mxs1516 test

This commit is contained in:
Timofey Turenko
2017-08-08 19:13:37 +03:00
committed by Timofey Turenko
parent 6dcc71d862
commit 2c04adafd1
2 changed files with 27 additions and 11 deletions

View File

@ -17,6 +17,9 @@ int main(int argc, char** argv)
test.repl->connect();
test.repl->change_master(1, 0);
// Give the monitor some time to detect it
sleep(5);
test.add_result(execute_query_silent(test.conn_master, "SELECT 1") == 0, "Query should fail");
// Change the master back to the original one