Skip to content

Commit

Permalink
Changing the error code
Browse files Browse the repository at this point in the history
Signed-off-by: Yashvi Jain <[email protected]>
  • Loading branch information
Yashvi Jain committed Jan 6, 2025
1 parent f13a10c commit 580e737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/helpers/cert_auth_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ EOF
invalid_cert_test_gateway() {
local result
result=$(hab_curl -o /dev/null -sS --insecure --cert "$(invalid_cert_path)" --key "$(invalid_key_path)" "https://localhost:2000/events/data-collector" || echo "$?")
if [ "$result" != "35" ]; then
if [ "$result" != "56" ]; then
cat <<EOF
...Failed
Expected curl exit code 35 (SSL connect error. The SSL handshaking failed.)
Expected curl exit code 56 (SSL connect error. The SSL handshaking failed.)
Got:
${result}
Expand Down

0 comments on commit 580e737

Please sign in to comment.