Fix handling of usernames in password rotation mysql test

This patch ensures that the usernames are parsed correctly from the
action to ensure that the usernames are handled correctly.
This commit is contained in:
Alex Kavanagh
2023-03-29 12:24:35 +01:00
parent 32f2a052b1
commit 140805d321

View File

@@ -615,7 +615,7 @@ class MySQLInnoDBClusterRotatePasswordTests(MySQLCommonTests):
'list-service-usernames',
action_params={}
)
usernames = action.data['results']['usernames']
usernames = action.data['results']['usernames'].split(',')
self.assertIn('keystone', usernames)
logging.info("... usernames: %s", ', '.join(usernames))