Daily Usage Issues

Is there a way to setup combine engine modes with capabilities?

Started by MaxiCode on 3,706 views

We have a combination of "dedicated ncrunch servers" and developers running the node on their machine.
What we would like to do is, depending on some means (my thought went to engine modes), make it so that running all tests automatically (again, this is our case, but could be anything else), the tests will run on the dedicated servers, but using the manual engine mode will enable it to use the other developer's machines.

Any advice?
Hi, thanks for posting!

We do have the 'Tests to execute on this machine' setting, which can be combined with an engine mode to control which tests are allowed to run on a machine.

Unfortunately, there presently isn't any condition in this setting that will allow you to control behaviour based on whether the test is marked via manual execution.

One way this can work is to turn off your local processing in the Distributed Processing Window. Then when you choose to run tests manually, try doing so with the debugger attached. When tests are run using the debugger, they'll be executed locally because the debugger is unavailable over the grid. This is a way of forcing local processing even when all other work would otherwise be run on the remote servers.

Post a reply

Log in to reply.