File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
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
- $tx = Start-Job -Verbose -ScriptBlock { & "${{ github.workspace }}\.ci\windows\toxiproxy\toxiproxy-server.exe" }; `
73
- Start-Sleep -Seconds 1; `
74
- Receive-Job -Job $tx; `
75
- & "${{ github.workspace }}\.ci\windows\toxiproxy\toxiproxy-cli.exe" list; `
72
+ Start-Job -Verbose -ScriptBlock { & "${{ github.workspace }}\.ci\windows\toxiproxy\toxiproxy-server.exe" }; `
76
73
dotnet test `
77
74
--environment 'RABBITMQ_LONG_RUNNING_TESTS=true' `
78
75
--environment "RABBITMQ_RABBITMQCTL_PATH=${{ steps.install-start-rabbitmq.outputs.path }}" `
82
79
"${{ github.workspace }}\projects\Test\Integration\Integration.csproj" --no-restore --no-build --logger 'console;verbosity=detailed'
83
80
- name : Check for errors in RabbitMQ logs
84
81
run : ${{ github.workspace }}\.ci\windows\gha-log-check.ps1
85
- - name : Maybe upload RabbitMQ logs
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
85
+ - name : Maybe upload RabbitMQ and Toxiproxy logs
86
86
if : failure()
87
87
uses : actions/upload-artifact@v4
88
88
with :
You can’t perform that action at this time.
0 commit comments