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 6c872e6 commit 0870caa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/mqtt-sn-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,13 @@ jobs:
RESULT=$?
[ $RESULT -ne 0 ] && echo -e "\n\nMQTT-SN Client failed!" && exit 1

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

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

0 comments on commit 0870caa

Please sign in to comment.