From d416ca6d306a1d2ce7cb7e650df5304e7ae5b13d Mon Sep 17 00:00:00 2001 From: Craig Fowler Date: Wed, 13 Nov 2024 08:06:35 +0000 Subject: [PATCH] WIP #217 - Use 'nunit' endpoint This follows the advice at https://help.appveyor.com/discussions/problems/37319-http-500-error-when-uploading-nunit3-test-results-suspected-failure-on-parameterized-test-cases Apparently using the regular nunit ebony works, where the nunit3 endpoint does not. --- Tools/appveyor-upload-test-results.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/appveyor-upload-test-results.ps1 b/Tools/appveyor-upload-test-results.ps1 index c8caeb4a..1ec33ead 100644 --- a/Tools/appveyor-upload-test-results.ps1 +++ b/Tools/appveyor-upload-test-results.ps1 @@ -13,5 +13,5 @@ foreach($project in $TestProjects) { $testResultFile = "$SolutionRoot\Tests\$project\TestResults\TestResults.xml" Move-Item $testResultFile "$SolutionRoot\TestResults\$project.TestResults.xml" - $wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $SolutionRoot\TestResults\$project.TestResults.xml)) + $wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $SolutionRoot\TestResults\$project.TestResults.xml)) }