From: shangxdy Date: Tue, 10 Oct 2017 11:36:44 +0000 (+0800) Subject: Fix integration error when no role of heat_stack_owner X-Git-Tag: opnfv-6.0.0~13 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=e0ff4c6768fdae895d529cd7975fe90c913169c5;p=parser.git Fix integration error when no role of heat_stack_owner If there is no role of heat_stack_owner in openstack, integration will be error, the patch will fix it. JIRA: PARSER-162 Change-Id: I74d4e70153a312c1a64c75e0ff956b7ab2219adf Signed-off-by: shangxdy --- diff --git a/tests/functest_run.sh b/tests/functest_run.sh index 3afbd56..d8aab32 100755 --- a/tests/functest_run.sh +++ b/tests/functest_run.sh @@ -115,7 +115,7 @@ create_parser_user_and_project() { openstack ${debug} role add heat_stack_owner --user ${PARSER_USER} \ --project ${PARSER_PROJECT} echo " Grant user ${PARSER_USER} the role of heat_stack_owner in project ${PARSER_PROJECT} successful." - } + } || true } }