From: Cédric Ollivier Date: Tue, 7 Aug 2018 10:06:41 +0000 (+0200) Subject: Fix swift operator role X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5fee9f23acc8c227a92f93ca5329af614cb15054;p=functest.git Fix swift operator role [1] https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-daily-master/35/console Change-Id: I7236bf5a74f36941f499da32c5c77dcd0b98b6f1 Signed-off-by: Cédric Ollivier (cherry picked from commit 3d1986d1a8035e93b7ad7e4331cb1cbe126a857f) --- diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 1b1433f83..7f85961a6 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -273,7 +273,7 @@ class TempestCommon(singlevm.VmReady1): rconfig.read(rally_conf) if not rconfig.has_section('tempest'): rconfig.add_section('tempest') - rconfig.set('tempest', 'swift_operator_role', '^{}$'.format(role.name)) + rconfig.set('tempest', 'swift_operator_role', role.name) with open(rally_conf, 'wb') as config_file: rconfig.write(config_file)