File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,11 @@ if errorlevel 1 (
45
45
46
46
set FLAKY_FILTER = " Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:%HELIX% =true"
47
47
echo Running known-flaky tests.
48
- %DOTNET_ROOT% \dotnet vstest %target% --logger:trx;LogFileName=test-results.xml --TestCaseFilter:%FLAKY_FILTER%
48
+ %DOTNET_ROOT% \dotnet vstest %target% --logger:trx --TestCaseFilter:%FLAKY_FILTER%
49
49
if errorlevel 1 (
50
50
echo Failure in flaky test 1 >& 2
51
51
REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1
52
52
)
53
53
54
- rem Normalize test result file name
55
-
56
- ren TestResults\test-results*.xml test-results.xml
57
-
58
54
exit %exit_code%
59
55
Original file line number Diff line number Diff line change @@ -81,14 +81,10 @@ if [ $nonflaky_exitcode != 0 ]; then
81
81
fi
82
82
FLAKY_FILTER=" Flaky:All=true|Flaky:Helix:All=true|Flaky:Helix:Queue:All=true|Flaky:Helix:Queue:$HELIX =true"
83
83
echo " Running known-flaky tests."
84
- $DOTNET_ROOT /dotnet vstest $1 ' --logger:trx;LogFileName=test-results.xml ' --TestCaseFilter:" $FLAKY_FILTER "
84
+ $DOTNET_ROOT /dotnet vstest $1 --logger:trx --TestCaseFilter:" $FLAKY_FILTER "
85
85
if [ $? != 0 ]; then
86
86
echo " Flaky tests failed!" 1>&2
87
87
# DO NOT EXIT
88
88
fi
89
89
90
- # Normalize test result file name
91
-
92
- mv TestResults/test-results* .xml test-results.xml
93
-
94
90
exit $nonflaky_exitcode
You can’t perform that action at this time.
0 commit comments