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

@ -59,8 +59,6 @@ int main(int argc, char* argv[])
Test->tprintf("Trying 26 connections with Readconnn slave\n");
check_max_conn(2, 25, Test);
sleep(10);
Test->check_maxscale_alive(0);
int rval = Test->global_result;
delete Test;