Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Oct 31, 2023
1 parent f3154d7 commit 74bfac6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mqtt-sn-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ jobs:
[ $RESULT -ne 0 ] && echo -e "\n\nMQTT-SN Client failed!" && exit 1

# Cleanup
- name: Stop gateway
run: |
sudo kill -2 $(pgrep -f "MQTT-SNGateway")
# - name: Stop gateway
# run: |
# sudo kill -2 $(pgrep -f "MQTT-SNGateway")

# capture logs on failure
- name: Show logs on failure
if: failure() || cancelled()
run: |
sudo kill -2 $(pgrep -f "MQTT-SNGateway")
cat ~/gateway.log

0 comments on commit 74bfac6

Please sign in to comment.