From f8087961f611957c3e52239d8ecf064b922abf2c Mon Sep 17 00:00:00 2001 From: Anastasia Kuznetsova Date: Fri, 16 Oct 2015 15:51:58 +0300 Subject: [PATCH] Fix mistral dsvm gate Because of https://review.openstack.org/#/c/235480/ path to tempest conf now is defining in other way, need to export special path and do not try to find tempest.conf using relative path from test run directory. Change-Id: I4de9d71332edab96e4d6c96f3b84f6ea2c459a67 --- functionaltests/run_tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functionaltests/run_tests.sh b/functionaltests/run_tests.sh index d719cad2..66f09fcb 100755 --- a/functionaltests/run_tests.sh +++ b/functionaltests/run_tests.sh @@ -25,6 +25,11 @@ echo "Successfully contacted Mistral API" # Where tempest code lives TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest} +# Path to directory with tempest.conf file, otherwise it will +# take relative path from where the run tests command is being executed. +export TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc/} +echo "Tempest configuration file directory: $TEMPEST_CONFIG_DIR" + # Where mistral code and mistralclient code live MISTRAL_DIR=/opt/stack/new/mistral MISTRALCLIENT_DIR=/opt/stack/new/python-mistralclient