Sleep longer in mysqlmon_* tests
Increased the amount of time that the tests sleep while they wait for states to change. This should make them more tolerant of server load by allowing more time for things to settle down.
This commit is contained in:
@ -81,7 +81,7 @@ int main(int argc, char** argv)
|
||||
int ec;
|
||||
test.maxscales->ssh_node_output(0, "maxadmin call command mysqlmon switchover "
|
||||
"MySQL-Monitor server1 server2" , true, &ec);
|
||||
sleep(5); // Wait for monitor to update status
|
||||
sleep(10); // Wait for monitor to update status
|
||||
get_output(test);
|
||||
master_id = get_master_server_id(test);
|
||||
test.assert(master_id == old_master_id, "Switchover back to server1 failed.");
|
||||
|
Reference in New Issue
Block a user