Skip to content

Commit

Permalink
Deploy rabbitmq first when using proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Nov 28, 2024
1 parent b0ce589 commit efbf509
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions selenium/bin/suite_template
Original file line number Diff line number Diff line change
Expand Up @@ -513,13 +513,13 @@ elif [[ "$COMMAND" == "stop-rabbitmq" ]]
fi
}
determine_required_components_including_rabbitmq() {
if [[ "$@" != *"rabbitmq"* ]]; then
REQUIRED_COMPONENTS+=("rabbitmq")
fi
for (( i=1; i<=$#; i++)) {
eval val='$'$i
REQUIRED_COMPONENTS+=( "$val" )
}
if [[ "$@" != *"rabbitmq"* ]]; then
REQUIRED_COMPONENTS+=("rabbitmq")
fi
}
determine_required_components_excluding_rabbitmq() {
for (( i=1; i<=$#; i++)) {
Expand Down
2 changes: 1 addition & 1 deletion selenium/suites/authnz-mgt/basic-auth-behind-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ TEST_CASES_PATH=/basic-auth
PROFILES="proxy"

source $SCRIPT/../../bin/suite_template
runWith proxy
runWith rabbitmq proxy
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ TEST_CONFIG_PATH=/oauth
PROFILES="uaa fakeportal fakeproxy fakeportal-mgt-oauth-provider idp-initiated mgt-prefix uaa-oauth-provider"

source $SCRIPT/../../bin/suite_template $@
runWith uaa fakeportal fakeproxy
runWith rabbitmq uaa fakeportal fakeproxy
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ TEST_CONFIG_PATH=/oauth
PROFILES="uaa fakeportal fakeproxy fakeportal-mgt-oauth-provider idp-initiated uaa-oauth-provider"

source $SCRIPT/../../bin/suite_template $@
runWith uaa fakeportal fakeproxy
runWith rabbitmq uaa fakeportal fakeproxy

0 comments on commit efbf509

Please sign in to comment.