Set tempest configuration to support service api
This config is read by tempest test weather to test the service api that was added in ussuri Depends-On: https://review.opendev.org/704274 Change-Id: I98ef8d60b40c13ffa0a6690841f1e27f092dfdea
This commit is contained in:
parent
da93da4ac1
commit
906291d7a9
@ -200,6 +200,11 @@ function stop_mistral {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function configure_tempest_for_mistral {
|
||||||
|
if is_service_enabled tempest; then
|
||||||
|
iniset $TEMPEST_CONFIG mistral_api service_api_supported True
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function cleanup_mistral {
|
function cleanup_mistral {
|
||||||
if is_service_enabled horizon; then
|
if is_service_enabled horizon; then
|
||||||
@ -259,6 +264,9 @@ if is_service_enabled mistral; then
|
|||||||
echo_summary "Initializing mistral"
|
echo_summary "Initializing mistral"
|
||||||
init_mistral
|
init_mistral
|
||||||
start_mistral
|
start_mistral
|
||||||
|
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
|
||||||
|
echo_summary "Configuring Tempest for Mistral"
|
||||||
|
configure_tempest_for_mistral
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$1" == "unstack" ]]; then
|
if [[ "$1" == "unstack" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user