Skip to content

Commit 8bb3bbd

Browse files
authored
ci/s3-e2e: show server logs at end of run (#1827)
1 parent a8c3bd7 commit 8bb3bbd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/s3-e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ jobs:
3737
- name: E2E Test
3838
timeout-minutes: 10
3939
run: ./test/e2e/s3/run-tests.sh
40+
- name: Backend Logs
41+
if: always()
42+
run: "! [[ -f ./server.log ]] || cat ./server.log"

test/e2e/s3/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ log "Waiting for fake-s3-server to start..."
5656
wait-for-it localhost:9000 --strict --timeout=10 -- echo '[test/e2e/s3/run-tests] fake-s3-server is UP!'
5757

5858
NODE_CONFIG_ENV=s3-dev node lib/bin/s3-create-bucket.js
59-
NODE_CONFIG_ENV=s3-dev make run &
59+
NODE_CONFIG_ENV=s3-dev make run | tee server.log &
6060
serverPid=$!
6161

6262
log 'Waiting for backend to start...'

0 commit comments

Comments
 (0)