Skip to content

Commit

Permalink
exit
Browse files Browse the repository at this point in the history
  • Loading branch information
scrungus committed Jul 24, 2024
1 parent 39df288 commit 136cbb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/functional_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ RESPONSE=$(curl -s -w "%{http_code}" -X POST -H "$CONTENT_TYPE" -d "{
http://$SITE:$PORT/consumer/)

if [ "$RESPONSE" -eq 204 ]; then
return 0
exit 0
else
echo "Error: Expected HTTP status code 204, but got $status"
return 1
exit 1
fi

echo "All tests completed."

0 comments on commit 136cbb7

Please sign in to comment.