summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-06-26 09:52:55 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-06-26 09:52:55 +0200
commita42211d75dd623ffd9a678ea3347a2737e99a9e9 (patch)
tree2b6554317180bedd152677c9c23d08bee1a2bf93 /testcases
parent4b41029e22522f1facbcddfa3e4fbe4196c3387e (diff)
config_functest.py: Rally installed with sudo
JIRA: FUNCTEST-19 Change-Id: Ide98accb5204ff4f57088a2dea28654adcfab80a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases')
-rw-r--r--testcases/config_functest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py
index a106f07bc..cab2a9458 100644
--- a/testcases/config_functest.py
+++ b/testcases/config_functest.py
@@ -231,7 +231,8 @@ def install_rally():
logger.debug("Executing %s./install_rally.sh..." %RALLY_REPO_DIR)
install_script = RALLY_REPO_DIR + "install_rally.sh"
- functest_utils.execute_command(install_script,logger)
+ cmd = 'sudo ' + install_script
+ functest_utils.execute_command(cmd,logger)
logger.debug("Creating Rally environment...")
cmd = "rally deployment create --fromenv --name=opnfv-arno-rally"