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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user