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:
Markus Mäkelä
2018-06-05 08:03:37 +03:00
parent 994d3bc22d
commit cfe676b1c8
16 changed files with 46 additions and 50 deletions

View File

@ -35,7 +35,7 @@ int main(int argc, char** argv)
sleep(3);
test.maxscales->ssh_node_output(0, FAILOVER_CMD , true, &ec);
sleep(5);
sleep(10);
check_test_1(test, node0_id);
if (test.global_result != 0)
@ -48,7 +48,7 @@ int main(int argc, char** argv)
sleep(3);
test.maxscales->ssh_node_output(0, FAILOVER_CMD, true, &ec);
sleep(5);
sleep(10);
check_test_2(test);
if (test.global_result != 0)
@ -61,7 +61,7 @@ int main(int argc, char** argv)
sleep(3);
test.maxscales->ssh_node_output(0, FAILOVER_CMD, true, &ec);
sleep(5);
sleep(10);
check_test_3(test);
return test.global_result;