Does setting the engine to run tests manually prevent it from continuously building projects?
If so, then this is likely to be a test that is reaching outside the NCrunch workspace and touching files in the foreground solution. In this situation, I suggest selectively running your tests in groups to try and narrow down which test is triggering the problem. Once you know this, it should be possible to analyse the test/code to identify how it is referencing outside the workspace.
If not, then the problem is likely to be caused by a build task of some kind.
I have now tried to run in manual mode. I manage to get the same error. I first ran a specific test multiple times (added new test senario).
Then i queued all test in the repository class (since i was in manual mode i want to run all impacted tests).
Then i got the same result causing the assembly to be flagged as "First time build" and all servers in the grid node did a rebuild.
JohanSpannare wrote:
Then i queued all test in the repository class (since i was in manual mode i want to run all impacted tests).
Then i got the same result causing the assembly to be flagged as "First time build" and all servers in the grid node did a rebuild.
I strongly suspect these tests are making changes to your foreground solution when they run. Check them for absolute path references.
A diagnostic approach that can often help here is to flag your entire source code tree as read-only (or remove write permissions to it). If you then run any code that attempts to change the foreground solution, this code will then throw an exception .. hopefully making it easier to identify.
If you can resend another bug report with this issue while you are disconnected from the grid, there's a chance I might be able to flag up the file(s) being changed.