Skip to content

Commit

Permalink
tests(yaml): fix last test to return only a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Lombardo committed May 22, 2024
1 parent 0430f6d commit dbae1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/webserv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Verify no lingering sockets
run: |
sleep 5 # Give some time for sockets to close properly
lingering_sockets=$(lsof -iTCP -sTCP:LISTEN -nP | grep 'webserv')
lingering_sockets=$(lsof -iTCP -sTCP:LISTEN -nP | grep 'webserv' || true)
if [ -n "$lingering_sockets" ]; then
echo "Unexpected lingering sockets found:"
echo "$lingering_sockets"
Expand Down

0 comments on commit dbae1a1

Please sign in to comment.