summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_tempest.py3
-rw-r--r--testcases/config_functest.yaml2
2 files changed, 2 insertions, 3 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
index 5738fd479..b8ed2716e 100644
--- a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py
@@ -203,8 +203,7 @@ def configure_tempest():
cmd = "crudini --set "+tempest_conf_file+" identity password " \
+USER_PASSWORD
functest_utils.execute_command(cmd,logger)
- cmd = "crudini --set "+tempest_conf_file+" input-scenario ssh_user_regex " \
- +SSH_USER_REGEX
+ cmd = "sed -i 's/.*ssh_user_regex.*/ssh_user_regex = "+SSH_USER_REGEX+"/' "+tempest_conf_file
functest_utils.execute_command(cmd,logger)
diff --git a/testcases/config_functest.yaml b/testcases/config_functest.yaml
index c9fb18bf3..f32314ac6 100644
--- a/testcases/config_functest.yaml
+++ b/testcases/config_functest.yaml
@@ -83,7 +83,7 @@ tempest:
user_name: tempest
user_password: tempest
input-scenario:
- ssh_user_regex: [["^.*[Cc]irros.*$", "cirros"], ["^.*[Tt]est[VvMm].*$", "cirros"], ["^.*rally_verify.*$", "cirros"]]
+ ssh_user_regex: '[["^.*[Cc]irros.*$", "cirros"], ["^.*[Tt]est[VvMm].*$", "cirros"], ["^.*rally_verify.*$", "cirros"]]'
rally:
deployment_name: opnfv-rally