Skip to content

Commit

Permalink
Restore ip instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
dsibilio committed Oct 7, 2024
1 parent 0bcee5a commit 31f3334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/saml/upgrade/test-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ log_info "Setup Auth0 ..."
# cd to /saml dir
cd "${current_dir}" || exit 1
# Run the test
mvn -B -ntp test -Dkeycloak.protocol="${protocol}" -Dkeycloak.hostname="localhost" -Dkeycloak.port="${port}"
mvn -B -ntp test -Dkeycloak.protocol="${protocol}" -Dkeycloak.hostname="${host_ip}" -Dkeycloak.port="${port}"
TESTS_RESULT=$?

if [[ "$TESTS_RESULT" -ne 0 ]] ; then
log_error_no_exit "Tests against the 'from' version failed. Dumping Keycloak logs:"
cat "${kc_logfile}"
fi

log_info "The test has been completed. Stopping Keycloak..."
log_info "The tests have been completed. Stopping Keycloak..."
# Stop the 'from' version and do an upgrade
stop_kc

Expand Down

0 comments on commit 31f3334

Please sign in to comment.