From: Cédric Ollivier Date: Wed, 11 Jul 2018 18:32:08 +0000 (+0200) Subject: Add tempest section in rally.conf X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=971b7f719e48fac8330eca5a521c7e7d0137c742;p=functest.git 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 (cherry picked from commit bf39607ee1128f6a9b46c37c0a8ac1e582d39ea5) --- 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: