Skip to content

Commit

Permalink
Merge pull request #1247 from iainnicol/nunit3
Browse files Browse the repository at this point in the history
NUnit3: don't set a timeout on the nunit3-console process
  • Loading branch information
forki committed May 30, 2016
2 parents 5d66bb5 + 565f35b commit d41c825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/FakeLib/UnitTest/NUnit/NUnit3.fs
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,12 @@ let NUnit3 (setParams : NUnit3Params -> NUnit3Params) (assemblies : string seq)
let tool = parameters.ToolPath
let args = buildNUnit3Args parameters assemblies
trace (tool + " " + args)
let processTimeout = TimeSpan.MaxValue // Don't set a process timeout. The timeout is per test.
let result =
ExecProcess (fun info ->
info.FileName <- tool
info.WorkingDirectory <- getWorkingDir parameters
info.Arguments <- args) parameters.TimeOut
info.Arguments <- args) processTimeout
let errorDescription error =
match error with
| OK -> "OK"
Expand Down

0 comments on commit d41c825

Please sign in to comment.