diff options
-rwxr-xr-x | testcases/features/sfc/set-up-tacker.sh | 8 | ||||
-rw-r--r-- | utils/functest_utils.py | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/testcases/features/sfc/set-up-tacker.sh b/testcases/features/sfc/set-up-tacker.sh index da2cb922e..e88893391 100755 --- a/testcases/features/sfc/set-up-tacker.sh +++ b/testcases/features/sfc/set-up-tacker.sh @@ -1,6 +1,8 @@ -git_commit=ee3046f24df0bfca7ee15501f6c06ad86dd462c2 -curl "https://gerrit.opnfv.org/gerrit/gitweb?p=fuel.git;a=blob_plain;\ -f=prototypes/sfc_tacker/poc.tacker-up.sh;hb=${git_commit}" > poc.tacker-up.sh +git clone https://gerrit.opnfv.org/gerrit/fuel fuel +pushd fuel +git checkout e7f7abc89161441548545f79f0299610c6e5b203 +popd +mv fuel/prototypes/sfc_tacker/poc.tacker-up.sh . bash poc.tacker-up.sh cat <<EOF > delete.sh diff --git a/utils/functest_utils.py b/utils/functest_utils.py index b83309e3a..807a671a3 100644 --- a/utils/functest_utils.py +++ b/utils/functest_utils.py @@ -221,6 +221,11 @@ def push_results_to_db(project, case_name, logger, logger.debug(r) r.raise_for_status() return True + except requests.RequestException: + if logger: + logger.error("Pushing Result to DB(%s) failed: %s" % + (r.url, r.content)) + return False except Exception, e: print("Error [push_results_to_db('%s', '%s', '%s', '%s'," "'%s', '%s', '%s', '%s', '%s')]:" % |