Fix test failures
Replaced sleep in bug676 with wait_for_monitor, removed unsupported commands from maxinfo_sql.
This commit is contained in:
@ -26,7 +26,7 @@ int main(int argc, char *argv[])
|
|||||||
test.stop_timeout();
|
test.stop_timeout();
|
||||||
|
|
||||||
test.tprintf("Waiting until the monitor picks a new master");
|
test.tprintf("Waiting until the monitor picks a new master");
|
||||||
sleep(5);
|
test.maxscales->wait_for_monitor();
|
||||||
|
|
||||||
test.set_timeout(30);
|
test.set_timeout(30);
|
||||||
|
|
||||||
|
|||||||
@ -14,8 +14,6 @@ int main(int argc, char** argv)
|
|||||||
{
|
{
|
||||||
vector<string> commands(
|
vector<string> commands(
|
||||||
{
|
{
|
||||||
"SET SERVER server1 master",
|
|
||||||
"CLEAR SERVER server1 master",
|
|
||||||
"FLUSH LOGS",
|
"FLUSH LOGS",
|
||||||
"SHOW VARIABLES",
|
"SHOW VARIABLES",
|
||||||
"SHOW VARIABLES LIKE '%version%'",
|
"SHOW VARIABLES LIKE '%version%'",
|
||||||
|
|||||||
Reference in New Issue
Block a user