Merge "Fix gate failure"
This commit is contained in:
commit
7334a7602c
@ -411,14 +411,6 @@
|
|||||||
"roles_list": "roles.list",
|
"roles_list": "roles.list",
|
||||||
"roles_revoke": "roles.revoke",
|
"roles_revoke": "roles.revoke",
|
||||||
"roles_update": "roles.update",
|
"roles_update": "roles.update",
|
||||||
"service_catalog_catalog": "service_catalog.catalog",
|
|
||||||
"service_catalog_factory": "service_catalog.factory",
|
|
||||||
"service_catalog_get_data": "service_catalog.get_data",
|
|
||||||
"service_catalog_get_endpoints": "service_catalog.get_endpoints",
|
|
||||||
"service_catalog_get_token": "service_catalog.get_token",
|
|
||||||
"service_catalog_get_urls": "service_catalog.get_urls",
|
|
||||||
"service_catalog_is_valid": "service_catalog.is_valid",
|
|
||||||
"service_catalog_url_for": "service_catalog.url_for",
|
|
||||||
"services_create": "services.create",
|
"services_create": "services.create",
|
||||||
"services_delete": "services.delete",
|
"services_delete": "services.delete",
|
||||||
"services_find": "services.find",
|
"services_find": "services.find",
|
||||||
|
@ -6,10 +6,10 @@ workflows:
|
|||||||
keystone:
|
keystone:
|
||||||
type: direct
|
type: direct
|
||||||
tasks:
|
tasks:
|
||||||
catalog:
|
projects_list:
|
||||||
action: keystone.service_catalog_get_data
|
action: keystone.projects_list
|
||||||
publish:
|
publish:
|
||||||
result: <% task(catalog).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
nova:
|
nova:
|
||||||
type: direct
|
type: direct
|
||||||
@ -17,7 +17,7 @@ workflows:
|
|||||||
networks_list:
|
networks_list:
|
||||||
action: nova.networks_list
|
action: nova.networks_list
|
||||||
publish:
|
publish:
|
||||||
result: <% task(networks_list).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
glance:
|
glance:
|
||||||
type: direct
|
type: direct
|
||||||
@ -25,7 +25,7 @@ workflows:
|
|||||||
images_list:
|
images_list:
|
||||||
action: glance.images_list
|
action: glance.images_list
|
||||||
publish:
|
publish:
|
||||||
result: <% task(images_list).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
heat:
|
heat:
|
||||||
type: direct
|
type: direct
|
||||||
@ -33,7 +33,7 @@ workflows:
|
|||||||
stacks_list:
|
stacks_list:
|
||||||
action: heat.stacks_list
|
action: heat.stacks_list
|
||||||
publish:
|
publish:
|
||||||
result: <% task(stacks_list).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
neutron:
|
neutron:
|
||||||
type: direct
|
type: direct
|
||||||
@ -41,7 +41,7 @@ workflows:
|
|||||||
list_subnets:
|
list_subnets:
|
||||||
action: neutron.list_subnets
|
action: neutron.list_subnets
|
||||||
publish:
|
publish:
|
||||||
result: <% task(list_subnets).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
cinder:
|
cinder:
|
||||||
type: direct
|
type: direct
|
||||||
@ -49,5 +49,5 @@ workflows:
|
|||||||
volumes_list:
|
volumes_list:
|
||||||
action: cinder.volumes_list
|
action: cinder.volumes_list
|
||||||
publish:
|
publish:
|
||||||
result: <% task(volumes_list).result %>
|
result: <% task().result %>
|
||||||
|
|
||||||
|
@ -46,9 +46,9 @@ class OpenStackActionsTestsV2(base.TestCase):
|
|||||||
@decorators.idempotent_id('81bdc1c9-cd9a-4c97-b8ce-e44f5211eace')
|
@decorators.idempotent_id('81bdc1c9-cd9a-4c97-b8ce-e44f5211eace')
|
||||||
def test_keystone_actions(self):
|
def test_keystone_actions(self):
|
||||||
wf_name = self.wb['name'] + '.keystone'
|
wf_name = self.wb['name'] + '.keystone'
|
||||||
_, execution = self.client.create_execution(wf_name)
|
_, execution = self.admin_client.create_execution(wf_name)
|
||||||
self.client.wait_execution_success(execution)
|
self.admin_client.wait_execution_success(execution)
|
||||||
executed_task = self.client.get_wf_tasks(wf_name)[-1]
|
executed_task = self.admin_client.get_wf_tasks(wf_name)[-1]
|
||||||
|
|
||||||
self.assertEqual('SUCCESS', executed_task['state'])
|
self.assertEqual('SUCCESS', executed_task['state'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user