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

commit f1d4b46e1651a5d9d86e8eb6be49db7b3c28457a
Author: Shad Storhaug <[email protected]>
AuthorDate: Sat Jan 8 12:04:09 2022 +0700

    run-tests-on-os.yml: Changed references from dotnet vstest to dotnet test 
in comments, log files, and display names
---
 .build/azure-templates/run-tests-on-os.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.build/azure-templates/run-tests-on-os.yml 
b/.build/azure-templates/run-tests-on-os.yml
index 9dfa28e..21ed49f 100644
--- a/.build/azure-templates/run-tests-on-os.yml
+++ b/.build/azure-templates/run-tests-on-os.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# Downloads test binaries and executes tests using dotnet vstest,
+# Downloads test binaries and executes tests using dotnet test,
 # runs the tests for each project on a background job in parallel,
 # then uploads the results to Azure DevOps pipelines
 
@@ -32,7 +32,7 @@ parameters:
   testResultsFileName: 'TestResults.trx' # The name of the file (not path) of 
the test results. Default 'TestResults.trx'.
   maximumParallelJobs: 8
   maximumAllowedFailures: 0
-  where: '' # A test filter expression, as defined by dotnet vstest
+  where: '' # A test filter expression, as defined by dotnet test
   dotNetSdkVersion: '' # The .NET SDK version to install
   
 steps:
@@ -162,13 +162,13 @@ steps:
                 Invoke-Expression $testExpression # For running in the 
foreground
             } else {
     
-                $testExpression += " > 
""$testResultDirectory/dotnet-vstest.log"" 2> 
""$testResultDirectory/dotnet-vstest-error.log"""
+                $testExpression += " > 
""$testResultDirectory/dotnet-test.log"" 2> 
""$testResultDirectory/dotnet-test-error.log"""
                 $scriptBlock = {
                     param([string]$testExpression)
                     Invoke-Expression $testExpression
                 }
     
-                # Avoid dotnet vstest collisions by delaying for 500ms
+                # Avoid dotnet test collisions by delaying for 500ms
                 Start-Sleep -Milliseconds 500
     
                 # Execute the jobs in parallel
@@ -198,7 +198,7 @@ steps:
     }
     
     $global:LASTEXITCODE = 0 # Force the script to continue on error
-  displayName: 'dotnet vstest ${{ parameters.framework }},${{ 
parameters.vsTestPlatform }}'
+  displayName: 'dotnet test ${{ parameters.framework }},${{ 
parameters.vsTestPlatform }}'
   ignoreLASTEXITCODE: true
 
 #- template: 'show-all-files.yml' # Uncomment for debugging

Reply via email to