Fix test failures

Replaced sleep in bug676 with wait_for_monitor, removed unsupported
commands from maxinfo_sql.
This commit is contained in:
Markus Mäkelä 2018-06-12 21:56:46 +03:00
parent 61cc709519
commit 17535acfc3
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 1 additions and 3 deletions

View File

@ -26,7 +26,7 @@ int main(int argc, char *argv[])
test.stop_timeout();
test.tprintf("Waiting until the monitor picks a new master");
sleep(5);
test.maxscales->wait_for_monitor();
test.set_timeout(30);

View File

@ -14,8 +14,6 @@ int main(int argc, char** argv)
{
vector<string> commands(
{
"SET SERVER server1 master",
"CLEAR SERVER server1 master",
"FLUSH LOGS",
"SHOW VARIABLES",
"SHOW VARIABLES LIKE '%version%'",