Skip to content

Commit

Permalink
change curl http2 support check from bypass to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
windmgc committed Mar 9, 2023
1 parent 95c6af8 commit 1a8649b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/tests/03-http2-admin-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ kong_ready

msg_test "Check if cURL supports HTTP/2"
if ! curl --version | grep -i "http2" > /dev/null; then
msg_yellow "local cURL does not support HTTP/2, bypass HTTP/2 tests"
exit 0
err_exit " local cURL does not support HTTP/2"
fi

msg_test "Check HTTP/2 Admin API response is valid"
Expand Down

0 comments on commit 1a8649b

Please sign in to comment.