Deploy rabbitmq first when using proxies

This commit is contained in:
Marcial Rosales 2024-11-28 12:14:18 +01:00
parent b0ce589ef0
commit efbf50991e
4 changed files with 6 additions and 6 deletions

View File

@ -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++)) {

View File

@ -6,4 +6,4 @@ TEST_CASES_PATH=/basic-auth
PROFILES="proxy"
source $SCRIPT/../../bin/suite_template
runWith proxy
runWith rabbitmq proxy

View File

@ -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

View File

@ -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