This project is read-only.

Parallel Tasks for Exec report success but really failed

Jan 13, 2014 at 6:54 PM
Edited Jan 13, 2014 at 6:55 PM

I'm running my unit tests in parallel, here is a snippet
    <MyTargets Include="UnitTest-Database-1;UnitTest-Database-2;UnitTest-Database-3;UnitTest-Database-4;javascriptUnitTests">

  <Target Name="BuildAll" DependsOnTargets="Compile">

 <Target Name="UnitTest-Database-4">
    <Exec Command='C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "$(CruiseControlPath)\" /t:UnitTest-Database-4 /v:d /l:FileLogger,Microsoft.Build.Engine;logfile=$(Artifacts)\UnitTest-Database-4.log' IgnoreExitCode="false" >
I get random test failures but the targets themselves don't fail and the build is green. It's very intermittent.

I'm looking for some ideas on how to tackle this.

This is all windows,

Thank you
Jan 14, 2014 at 2:43 PM

What failure's exactly?

Jan 26, 2014 at 1:29 PM
assuming this is ok now, feel free to shout if its not.
Marked as answer by mikeFourie on 1/26/2014 at 5:29 AM