Skip to content

Commit e925df6

Browse files
author
John Luo
authored
Disable test reporting for flaky tests on Helix (#10352)
1 parent 5df6e45 commit e925df6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/helix/content/runtests.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if errorlevel 1 (
5252

5353
set FLAKY_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:%HELIX%=true"
5454
echo Running known-flaky tests.
55-
%DOTNET_ROOT%\dotnet vstest %target% --logger:trx --TestCaseFilter:%FLAKY_FILTER%
55+
%DOTNET_ROOT%\dotnet vstest %target% --TestCaseFilter:%FLAKY_FILTER%
5656
if errorlevel 1 (
5757
echo Failure in flaky test 1>&2
5858
REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1

eng/helix/content/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if [ $nonflaky_exitcode != 0 ]; then
8181
fi
8282
FLAKY_FILTER="Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:$HELIX=true"
8383
echo "Running known-flaky tests."
84-
$DOTNET_ROOT/dotnet vstest $1 --logger:trx --TestCaseFilter:"$FLAKY_FILTER"
84+
$DOTNET_ROOT/dotnet vstest $1 --TestCaseFilter:"$FLAKY_FILTER"
8585
if [ $? != 0 ]; then
8686
echo "Flaky tests failed!" 1>&2
8787
# DO NOT EXIT

0 commit comments

Comments
 (0)