Fix gate failure

The failure:
http://logs.openstack.org/45/454945/1/check/gate-mistral-devstack-dsvm-ubuntu-xenial-nv/e9daa6e/console.html#_2017-04-08_11_50_48_519100

When populate workflow actions in database, no actual authentication is
made, as a result, for Keystone client, the 'service_catalog' property
value is None. After the patch[1], the 'service_catalog' related
actions won't be inserted into the database and can not be used in
workflow definition.

This change removes 'service_catalog' related actions from the mapping
file and modify the keystone action test case accordingly.

Change-Id: I469d38cad165b57690c43db485f86e898f08de06
This commit is contained in:
Lingxian Kong 2017-04-09 22:33:28 +12:00
parent b78004933f
commit 1fd65e748f
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@ class OpenStackActionsTestsV2(base.TestCase):
@decorators.idempotent_id('81bdc1c9-cd9a-4c97-b8ce-e44f5211eace')
def test_keystone_actions(self):
wf_name = self.wb['name'] + '.keystone'
_, execution = self.client.create_execution(wf_name)
self.client.wait_execution_success(execution)
executed_task = self.client.get_wf_tasks(wf_name)[-1]
_, execution = self.admin_client.create_execution(wf_name)
self.admin_client.wait_execution_success(execution)
executed_task = self.admin_client.get_wf_tasks(wf_name)[-1]
self.assertEqual('SUCCESS', executed_task['state'])