Build/Test Issues

why "unable to run concurrently" warning?

Started by Grendil on 3,103 views

I'm getting this warning:

This component contains unignored tests with a long running time and the engine is unable to run them concurrently with faster tests because either the maximum number of execution threads is set to 1, or parallel execution for this solution has been disabled. The result is that you may often notice slow response times from the engine because the processing queue is blocked up with long running tests. For more information, please refer to http://www.ncrunch.net/documentation/guides_integration-testing.


However I've double checked that my solution does not disable parallel execution and my number of threads is set to 8.

Is there some other reason I'd get this?
Hi, thanks for posting.

This warning gets triggered automatically by the engine when either the Max Number Of Processing Threads is set to 1, or Allow Parallel Execution is set to False. The warning will not be shown unless the solution is recorded to have at least one test with an execution time of greater than 25 seconds. The warning will also take into account grid nodes, so it will only show up if you are not using distributed processing. The comparison is fairly simple and well contained. To my knowledge, there is no way for it to malfunction.

The inheritance system in NCrunch's configuration can sometimes make it complicated to see which configuration settings are actually being applied. Check the Configuration window for the settings involved to make sure that they aren't set to something unexpected. It's possible for these settings to be overridden by engine modes and they can also be declared at solution and global level.
Thanks for the reply, Remco. Indeed it was my goof, I mentally juxtaposed the effective value vs selected value columns when reading the config screen. Too long a day! Thanks again.

Post a reply

Log in to reply.