Skip to content

Commit

Permalink
chore(e2e): Get logs from the postgres container (#3792)
Browse files Browse the repository at this point in the history
  • Loading branch information
moduli authored Oct 3, 2023
1 parent 4a410ef commit a4023b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/enos-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,12 @@ jobs:
name: test-e2e-output
path: enos/test*.log
retention-days: 5
- name: Get logs from postgres container
# Retrieve logs from the postgres container on a failed
# run to help diagnose a deadlock issue
if: contains(matrix.filter, 'e2e_docker') && steps.run.outcome == 'failure'
run: |
docker logs database
- name: Upload e2e UI tests debug info
if: matrix.filter == 'e2e_ui builder:crt' && steps.run.outcome == 'failure'
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
Expand Down

0 comments on commit a4023b8

Please sign in to comment.