diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-10-12 17:25:21 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-10-12 17:28:07 +0200 |
commit | 6aa929cd8c8a9116c8df23bc0bf4cc76516425e6 (patch) | |
tree | 9f08736ad1e011aace3863818f6f4f093330244a /ci/prepare_env.py | |
parent | ab3b723d2cc6c16b11c3a17b091da384213bcaac (diff) |
Remove exit() in ft_utils.execute_command
It simply removes the exit call in ft_utils.execute_command which is
quite safe as every testcase sets exit_on_error to False
JIRA: FUNCTEST-438
Change-Id: Ia273de0955cc3ea65a150c626638400ce614da00
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'ci/prepare_env.py')
-rwxr-xr-x | ci/prepare_env.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/prepare_env.py b/ci/prepare_env.py index 6b1babaa..e110aa57 100755 --- a/ci/prepare_env.py +++ b/ci/prepare_env.py @@ -223,7 +223,7 @@ def install_rally(): logger.info("Creating Rally environment...") cmd = "rally deployment destroy opnfv-rally" - ft_utils.execute_command(cmd, exit_on_error=False, + ft_utils.execute_command(cmd, error_msg=("Deployment %s does not exist." % DEPLOYMENT_MAME), verbose=False) rally_conf = os_utils.get_credentials_for_rally() |