diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-03-16 08:51:55 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-03-20 08:58:47 +0000 |
commit | 264896f475e3f0975754c9fa78980051661698c0 (patch) | |
tree | 4bc54b0e8ebcd033633610c5b9e9934dcf85f04f /functest/ci | |
parent | f3779df1fbee48d1a32893db8db27adb8b0deedd (diff) |
Enable functest offline by installing tempest system wide
JIRA: FUNCTEST-764
1. When creating verifier via rally in functest env prepare, without the
parameter "--system-wide", rally will install tempest and its dependent
packages into the virtual env of rally. Thus, it needs to connect internet
when installing tempest, which will not enable functest offline.
2. Some packages are needed for multisite testcase, and they are installed
in virtual env of rally before. But if "--system-wide" is set, there packages
should be installed addtionally.
Change-Id: I340701e9ed4a0f8f278ff952f0dd61470c6deed1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/ci')
-rwxr-xr-x | functest/ci/prepare_env.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py index 724ea14d..e9a470f9 100755 --- a/functest/ci/prepare_env.py +++ b/functest/ci/prepare_env.py @@ -312,7 +312,7 @@ def install_tempest(): logger.debug("Tempest %s does not exist" % CONST.tempest_deployment_name) cmd = ("rally verify create-verifier --source {0} " - "--name {1} --type tempest" + "--name {1} --type tempest --system-wide" .format(CONST.dir_repo_tempest, CONST.tempest_deployment_name)) error_msg = "Problem while installing Tempest." |