You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/08/13 23:13:05 UTC
[lucenenet] branch master updated: build.ps1: Added
--blame-hang-timeout of 15 minutes to help detect deadlocks
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new 2b344a8 build.ps1: Added --blame-hang-timeout of 15 minutes to help detect deadlocks
2b344a8 is described below
commit 2b344a86f295089034804eddc7c5302428518907
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Aug 14 04:35:10 2021 +0700
build.ps1: Added --blame-hang-timeout of 15 minutes to help detect deadlocks
---
build/build.ps1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build/build.ps1 b/build/build.ps1
index eeeb1c0..8539aa2 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -1,4 +1,4 @@
-# -----------------------------------------------------------------------------------
+# -----------------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@@ -324,7 +324,7 @@ task Test -depends InstallSDK, UpdateLocalSDKVersion, Restore -description "This
$testProjectPath = $testProject.FullName
$testExpression = "dotnet.exe test $testProjectPath --configuration $configuration --framework $framework --no-build"
- $testExpression = "$testExpression --no-restore --blame --results-directory $testResultDirectory"
+ $testExpression = "$testExpression --no-restore --blame --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 15minutes --results-directory $testResultDirectory"
# Breaking change: We need to explicitly set the logger for it to work with TeamCity.
# See: https://github.com/microsoft/vstest/issues/1590#issuecomment-393460921