From 2748f6eb18fd38f282643fdfd7070c82f0855e7e Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Tue, 25 Aug 2015 11:39:34 +0300 Subject: [PATCH] Explicitly set infra engine based on job type Change-Id: Ibc60dff02cd62e53510089b8424c32dea465d807 --- tools/gate/scenario/pre_test_hook.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/gate/scenario/pre_test_hook.sh b/tools/gate/scenario/pre_test_hook.sh index 4b1b64d0..ce83a495 100755 --- a/tools/gate/scenario/pre_test_hook.sh +++ b/tools/gate/scenario/pre_test_hook.sh @@ -23,12 +23,10 @@ source commons $@ echo "IMAGE_URLS=$SAHARA_FAKE_PLUGIN_IMAGE" >> $LOCALRC_PATH -if [[ $ENGINE == heat ]]; then +if [ "$ENGINE" == "heat" ]; then echo "enable_service heat h-eng h-api h-api-cfn h-api-cw" >> $LOCALRC_PATH fi - -# Here we can set some configurations for localrc -# echo "SAHARA_INFRA_ENGINE=heat" >> $LOCALRC_PATH +echo "SAHARA_INFRA_ENGINE=$ENGINE" >> $LOCALRC_PATH # Here we can set some configurations for local.conf # for example, to pass some config options directly to sahara.conf file