diff --git a/build-tools/automation/yaml-templates/run-sliced-nunit-tests.yaml b/build-tools/automation/yaml-templates/run-sliced-nunit-tests.yaml index 45bd0beb9fd..5e44373d5dd 100644 --- a/build-tools/automation/yaml-templates/run-sliced-nunit-tests.yaml +++ b/build-tools/automation/yaml-templates/run-sliced-nunit-tests.yaml @@ -15,6 +15,7 @@ steps: --total-slices=$(System.TotalJobsInPhase) --outfile="${{ parameters.testAssembly }}.runsettings" displayName: Slice unit tests with filter + failOnStderr: true - ${{ else }}: - pwsh: >- dotnet-test-slicer slice @@ -23,6 +24,7 @@ steps: --total-slices=$(System.TotalJobsInPhase) --outfile="${{ parameters.testAssembly }}.runsettings" displayName: Slice unit tests + failOnStderr: true - ${{ if eq(parameters.retryFailedTests, 'false') }}: # If we aren't using auto-retry logic, then this is just a simple template call