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 b0b8d000f8
commit 9d4e06c132

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;