Skip to content

Commit

Permalink
Upload docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 5, 2023
1 parent 1b201fa commit 601a232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,3 +287,10 @@ jobs:
with:
name: wrk-logs
path: ./wrk-logs-*/

- name: Upload Docker logs
uses: actions/upload-artifact@v3
if: always()
with:
name: docker-logs
path: "*docker.log"
1 change: 1 addition & 0 deletions tests/test_http.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ _EOF_
rlPhaseEnd

rlPhaseStartCleanup
rlRun -t -c "docker-compose logs --no-color > test_http_docker.log"
rlRun -t -c "docker-compose down"
rm -f /tmp/testcookies.txt
rm -f /tmp/testdata.txt
Expand Down

0 comments on commit 601a232

Please sign in to comment.