Forum member

Cjdawson

7 posts

Posts by Cjdawson

  1. Improving grid node IL reporting.

    Turns out that in the end my main machine, with the different output was running a slightly different patch of VS. That got sorted with my checking for updates regularly on all the machines, now they are in sync, and it's fantastic. The fact it picks up on any differences is great, and using th…

  2. Improving grid node IL reporting.

    [quote]Meanwhile, something that might help is to turn on your NCrunch build logging and examine the logs inside the Processing Queue Window for the build tasks. You'll often find version information splattered throughout the logs. At the very least, you can run the log through a diff tool to see wh…

  3. Improving grid node IL reporting.

    Hi, I've got 3 machines setup with ncrunch, my local machine that I write code on, and two VM's that I use as build agents for TeamCity. Since most of the time those are sitting idle, I figured I'd set them up as grid nodes so they can help with running tests. This has actually be great for reaso…

  4. Tests unreliable with multi-threaded code.

    Figure it out. There was something funky going on with the threading code. I'd decided that as "nothing was wrong with my code, as the tests were passing and I'd never seen a problem at runtime" I'd go ahead and start adding some more unit tests to try and cover off the rest of the code. As a re…

  5. Tests unreliable with multi-threaded code.

    [quote=Remco;7445][quote=Cjdawson;7444] How exactly is this done? I cannot find any of the settings mentioned on the linked page. I was looking in NCrunch --> configuration. Is there somewhere else that isn't obvious to locate?[/quote] Yes - all of these settings are located under the NCrun…

  6. Tests unreliable with multi-threaded code.

    [quote=Remco;7443]Hi, 2. Try setting the NCrunch running in compatibility mode - [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode[/url]. This can often help to rule out whether other features in NCr…

  7. Tests unreliable with multi-threaded code.

    Hi all. I have a number of tests that call a method which is using some multi-threaded code. I don't understand why, but the tests fail under NCrunch. I'm using Moq in combination with my code so that I don't have to create a whole fake repository. Anyways. I'll past the relevent pieces of code …