Skip to content

Commit

Permalink
[wrong:server] exit when timeout reached
Browse files Browse the repository at this point in the history
  • Loading branch information
grqz authored Sep 15, 2024
1 parent 755e888 commit 94e9ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ jobs:
}
export -f ping
timeout 7.5 bash -c "ping 0.5" || \
echo "::error title=Timeout reached,file=server/src/main.ts::\
Timeout reached before the server is up."
(echo "::error title=Timeout reached,file=server/src/main.ts::\
Timeout reached before the server is up." && exit 1)
echo "::group::Response from HTTP server"
echo $RESP | jq
Expand Down

0 comments on commit 94e9ddb

Please sign in to comment.