Skip to content

Commit

Permalink
NUnit3: don't set a timeout on the nunit3-console process
Browse files Browse the repository at this point in the history
A process level timeout is unhelpful, because the timeout is meant to be per test.
  • Loading branch information
iainnicol committed May 23, 2016
1 parent 8c077f3 commit 565f35b
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 565f35b

Please sign in to comment.