Skip to content

Commit

Permalink
workflow 5
Browse files Browse the repository at this point in the history
  • Loading branch information
csmig committed Feb 19, 2025
1 parent ae9a169 commit 9c5d750
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/api-state-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
run: |
set +e
timeout 180 node index.js | tee api-log.json
exit_code=$?
exit_code="${PIPESTATUS[0]}"
if [ $exit_code -eq 124 ]; then
echo "Timeout"
echo "timeout timed out"
exit 1
elif [ $exit_code -eq 1 ]; then
echo "Passed"
echo "api exited with code 1"
exit 0
else
echo "Failed with exit code $exit_code"
exit $exit_code
echo "api exited with code $exit_code"
exit 1
fi
- name: Check MySQL retries
working-directory: ./api/source
Expand Down

0 comments on commit 9c5d750

Please sign in to comment.