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 6969 - name : Integration Tests
7070 timeout-minutes : 25
7171 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" }; `
7673 dotnet test `
7774 --environment 'RABBITMQ_LONG_RUNNING_TESTS=true' `
7875 --environment "RABBITMQ_RABBITMQCTL_PATH=${{ steps.install-start-rabbitmq.outputs.path }}" `
8279 "${{ github.workspace }}\projects\Test\Integration\Integration.csproj" --no-restore --no-build --logger 'console;verbosity=detailed'
8380 - name : Check for errors in RabbitMQ logs
8481 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
8686 if : failure()
8787 uses : actions/upload-artifact@v4
8888 with :
You can’t perform that action at this time.
0 commit comments