From c48617ea74290bfafce0447fc47fd68c65283580 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Fri, 5 May 2023 10:06:44 -0500 Subject: [PATCH] build system: increase `dotnet test --blame-hang-timeout` to 2m (#6735) Some of the longer running tests we've added for things like Akka.Delivery exceed the 30s-per-test timeout value we used previously. --- build.fsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.fsx b/build.fsx index 3feca550d42..89099ebc723 100644 --- a/build.fsx +++ b/build.fsx @@ -247,8 +247,8 @@ Target "RunTests" (fun _ -> let runSingleProject project = let arguments = match (hasTeamCity) with - | true -> (sprintf "test -c Release --blame-crash --blame-hang-timeout 30s --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s --results-directory \"%s\" -- -parallel none -teamcity" testNetFrameworkVersion outputTests) - | false -> (sprintf "test -c Release --blame-crash --blame-hang-timeout 30s --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s --results-directory \"%s\" -- -parallel none" testNetFrameworkVersion outputTests) + | true -> (sprintf "test -c Release --blame-crash --blame-hang-timeout 2m --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s --results-directory \"%s\" -- -parallel none -teamcity" testNetFrameworkVersion outputTests) + | false -> (sprintf "test -c Release --blame-crash --blame-hang-timeout 2m --no-build --logger:trx --logger:\"console;verbosity=normal\" --framework %s --results-directory \"%s\" -- -parallel none" testNetFrameworkVersion outputTests) let result = ExecProcess(fun info -> info.FileName <- "dotnet"