summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 20:32:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 20:35:31 +0200
commit971b7f719e48fac8330eca5a521c7e7d0137c742 (patch)
tree69fb2d3e802713b9dd6cabb5a29a2c5d13a32f03
parentd8a6342c5fa1c17d7454e245626ed745612d841a (diff)
Add tempest section in rally.conf
It completes the previous patch [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59681/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/555/console Change-Id: I93ad9db2c7a8a0691fed8bf58f5e21d8f3dc9c57 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bf39607ee1128f6a9b46c37c0a8ac1e582d39ea5)
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 911c8caad..818b6cc0b 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -262,6 +262,7 @@ class TempestCommon(singlevm.VmReady1):
"""Set image name as tempest img_name_regex"""
rconfig = configparser.RawConfigParser()
rconfig.read(rally_conf)
+ rconfig.add_section('tempest')
rconfig.set('tempest', 'img_name_regex', '^{}$'.format(
self.image.name))
with open(rally_conf, 'wb') as config_file: