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:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user