File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 69
69
- name : Integration Tests
70
70
timeout-minutes : 25
71
71
run : |
72
- Start-Job -Verbose -ScriptBlock { & "${{ github.workspace }}\.ci\windows\toxiproxy\toxiproxy-server.exe" }; `
72
+ Start-Job -Verbose -ScriptBlock { & "${{ github.workspace }}\.ci\windows\toxiproxy\toxiproxy-server.exe" | Out-File -LiteralPath $env:APPDATA\RabbitMQ\log\toxiproxy-log.txt }; `
73
73
dotnet test `
74
74
--environment 'RABBITMQ_LONG_RUNNING_TESTS=true' `
75
75
--environment "RABBITMQ_RABBITMQCTL_PATH=${{ steps.install-start-rabbitmq.outputs.path }}" `
79
79
"${{ github.workspace }}\projects\Test\Integration\Integration.csproj" --no-restore --no-build --logger 'console;verbosity=detailed'
80
80
- name : Check for errors in RabbitMQ logs
81
81
run : ${{ github.workspace }}\.ci\windows\gha-log-check.ps1
82
- - name : Maybe collect Toxiproxy logs
83
- if : failure()
84
- run : Get-Job | Where-Object { $_.HasMoreData } | Receive-Job | Out-File -Append -LiteralPath $env:APPDATA\RabbitMQ\log\toxiproxy-log.txt
82
+ - name : Stop Toxiproxy
83
+ run : Get-Job | Stop-Job -Verbose -PassThru | Remove-Job -Verbose
85
84
- name : Maybe upload RabbitMQ and Toxiproxy logs
86
85
if : failure()
87
86
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments