From e925df6a85ee6a1bb0b35a393107717fbf748278 Mon Sep 17 00:00:00 2001 From: John Luo Date: Tue, 21 May 2019 15:03:39 -0700 Subject: [PATCH] Disable test reporting for flaky tests on Helix (#10352) --- eng/helix/content/runtests.cmd | 2 +- eng/helix/content/runtests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/helix/content/runtests.cmd b/eng/helix/content/runtests.cmd index 8a8a158739..8657c61ec1 100644 --- a/eng/helix/content/runtests.cmd +++ b/eng/helix/content/runtests.cmd @@ -52,7 +52,7 @@ if errorlevel 1 ( set FLAKY_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:%HELIX%=true" echo Running known-flaky tests. -%DOTNET_ROOT%\dotnet vstest %target% --logger:trx --TestCaseFilter:%FLAKY_FILTER% +%DOTNET_ROOT%\dotnet vstest %target% --TestCaseFilter:%FLAKY_FILTER% if errorlevel 1 ( echo Failure in flaky test 1>&2 REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1 diff --git a/eng/helix/content/runtests.sh b/eng/helix/content/runtests.sh index ce34df6222..0c79c692c6 100644 --- a/eng/helix/content/runtests.sh +++ b/eng/helix/content/runtests.sh @@ -81,7 +81,7 @@ if [ $nonflaky_exitcode != 0 ]; then fi FLAKY_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:$HELIX=true" echo "Running known-flaky tests." -$DOTNET_ROOT/dotnet vstest $1 --logger:trx --TestCaseFilter:"$FLAKY_FILTER" +$DOTNET_ROOT/dotnet vstest $1 --TestCaseFilter:"$FLAKY_FILTER" if [ $? != 0 ]; then echo "Flaky tests failed!" 1>&2 # DO NOT EXIT