Wait for all connections to close

Added a small delay to tests that flood MaxScale with large amounts of
connections which then proceed to check whether MaxScale accepts
connections.
This commit is contained in:
Markus Mäkelä
2017-05-30 15:48:23 +03:00
parent 6c742030b4
commit ee34b26fc8

View File

@ -31,7 +31,10 @@ int main(int argc, char** argv)
}
}
// Wait for the connections to clean up
Test->stop_timeout();
sleep(5);
Test->check_maxscale_alive();
int rval = Test->global_result;
delete Test;