Fix swift operator role 91/60691/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 7 Aug 2018 10:06:41 +0000 (12:06 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 7 Aug 2018 10:22:00 +0000 (12:22 +0200)
[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 <cedric.ollivier@orange.com>
functest/opnfv_tests/openstack/tempest/tempest.py

index 8e61253..05f13c0 100644 (file)
@@ -305,7 +305,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)