Remove unnecessary sleeps from tests

Removed unnecessary sleeps and replaced sleeps with wait_for_monitor in
some older tests. Also removed the odd arrangement of arrays in
server_weight.
This commit is contained in:
Markus Mäkelä
2018-11-18 22:39:41 +02:00
parent 47092ed18a
commit fd3a42ceb6
4 changed files with 10 additions and 20 deletions

View File

@ -32,7 +32,7 @@ int main(int argc, char* argv[])
Test->repl->unblock_node(0);
Test->stop_timeout();
sleep(10);
Test->maxscales->wait_for_monitor();
Test->set_timeout(30);
Test->tprintf("Reconnecting and trying query to RWSplit\n");