Fix swift operator role 93/60693/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:56 +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>
(cherry picked from commit 3d1986d1a8035e93b7ad7e4331cb1cbe126a857f)

functest/opnfv_tests/openstack/tempest/tempest.py

index 1b1433f..7f85961 100644 (file)
@@ -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)