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:
@ -31,7 +31,10 @@ int main(int argc, char** argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wait for the connections to clean up
|
||||||
Test->stop_timeout();
|
Test->stop_timeout();
|
||||||
|
sleep(5);
|
||||||
|
|
||||||
Test->check_maxscale_alive();
|
Test->check_maxscale_alive();
|
||||||
int rval = Test->global_result;
|
int rval = Test->global_result;
|
||||||
delete Test;
|
delete Test;
|
||||||
|
Reference in New Issue
Block a user