Skip to content

Commit

Permalink
Fix server logs in backwards_compatibility (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcio authored Mar 4, 2024
1 parent 2937bb1 commit 9ddbe4a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/backwards_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: backwards_compatibility
on:
workflow_call:
inputs:
pr_body:
pr_body:
description: 'Pull Request body'
required: true
type: string
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
break
fi
done
if $BREAKING_CHANGE_FOUND; then
echo "skip=true" >> $GITHUB_OUTPUT
echo "'BREAKING_CHANGE' found in commit message, setting skip=true"
Expand Down Expand Up @@ -89,6 +89,8 @@ jobs:
target/debug/iggy-server &
wait-on: tcp:localhost:8090
wait-for: 1m
log-output: true
log-output-if: true
tail: true

- name: Run send bench (PR)
Expand All @@ -99,6 +101,12 @@ jobs:
timeout-minutes: 1
run: pkill iggy-server && while pgrep -l iggy-server; do sleep 1; done;

- name: Print iggy-server logs (PR)
run: cat local_data/logs/iggy*

- name: Remove iggy-server logs (PR)
run: rm local_data/logs/iggy*

- name: Reset to origin/master
run: git reset --hard origin/master

Expand All @@ -112,6 +120,8 @@ jobs:
target/debug/iggy-server &
wait-on: tcp:localhost:8090
wait-for: 1m
log-output: true
log-output-if: true
tail: true

- name: Run poll bench (origin/master)
Expand All @@ -126,3 +136,6 @@ jobs:
timeout-minutes: 1
run: pkill iggy-server && while pgrep -l iggy-server; do sleep 1; done;

- name: Print server logs (origin/master)
run: cat local_data/logs/iggy*

0 comments on commit 9ddbe4a

Please sign in to comment.