When running a lot of tests in parallel, I get JSONRPCException: 'generatetoaddress' RPC took longer than 30.000000 seconds.
The general recommendation, if running into timeouts, is to increase the --timeout-factor. However, I think that the default timeout values should be suitable to run the tests out of the box on reasonable hardware.