Downgrade keystone client only for SFC testcase
authorjose.lausuch <jose.lausuch@ericsson.com>
Fri, 11 Nov 2016 15:11:29 +0000 (16:11 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Fri, 11 Nov 2016 15:12:55 +0000 (16:12 +0100)
Since 1.7.4 is not the right one for the rest of
the test cases but it is the only version that works
for tacker, downgrade it first and upgrade it later.

Change-Id: I46be38a36726d9605a7a507a7ebd09d599f79ee3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
functest/ci/exec_test.sh

index 5649530..234a4d2 100644 (file)
@@ -160,11 +160,13 @@ function run_test(){
             python ${FUNCTEST_TEST_DIR}/features/domino.py $report
         ;;
         "odl-sfc")
+            pip install --upgrade python-keystoneclient==1.7.4
             ODL_SFC_DIR=${FUNCTEST_TEST_DIR}/features/sfc
             # pass FUNCTEST_REPO_DIR inside prepare_odl_sfc.bash
             FUNCTEST_REPO_DIR=${FUNCTEST_REPO_DIR} python ${ODL_SFC_DIR}/prepare_odl_sfc.py || exit $?
             source ${ODL_SFC_DIR}/tackerc
             python ${ODL_SFC_DIR}/sfc.py $report
+            pip install --upgrade python-keystoneclient==3.5.0
         ;;
         "parser")
             python ${FUNCTEST_TEST_DIR}/vnf/vRNC/parser.py $report