Skip to content

Commit 1a8771e

Browse files
committed
CSHARP-1707: Set xUnit timeout to a very large value (let Jenkins handle timeouts) and run "dotnet restore" before "dotnet test".
1 parent d7a8764 commit 1a8771e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build.fsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,14 @@ Target "TestNet45" (fun _ ->
183183
ErrorLevel = TestRunnerErrorLevel.Error
184184
NUnitXmlOutputPath = Some resultsOutputPath
185185
Parallel = ParallelMode.NoParallelization
186-
TimeOut = TimeSpan.FromMinutes(20.0)
186+
TimeOut = TimeSpan.FromDays(1.0)
187187
IncludeTraits = includeTraits
188188
})
189189
)
190190

191191
Target "TestNetStandard16" (fun _ ->
192192
for project in dotNetTestProjects do
193+
DotnetRestore id project
193194
let args = sprintf "test %s" project
194195
let result = Dotnet DotnetOptions.Default args
195196
if not result.OK then failwithf "dotnet test failed with code %i" result.ExitCode

0 commit comments

Comments
 (0)