Merge "Fix gate failure"

This commit is contained in:
Jenkins 2017-04-10 09:57:42 +00:00 committed by Gerrit Code Review
commit 7334a7602c
3 changed files with 11 additions and 19 deletions

View File

@ -411,14 +411,6 @@
"roles_list": "roles.list",
"roles_revoke": "roles.revoke",
"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_delete": "services.delete",
"services_find": "services.find",

View File

@ -6,10 +6,10 @@ workflows:
keystone:
type: direct
tasks:
catalog:
action: keystone.service_catalog_get_data
projects_list:
action: keystone.projects_list
publish:
result: <% task(catalog).result %>
result: <% task().result %>
nova:
type: direct
@ -17,7 +17,7 @@ workflows:
networks_list:
action: nova.networks_list
publish:
result: <% task(networks_list).result %>
result: <% task().result %>
glance:
type: direct
@ -25,7 +25,7 @@ workflows:
images_list:
action: glance.images_list
publish:
result: <% task(images_list).result %>
result: <% task().result %>
heat:
type: direct
@ -33,7 +33,7 @@ workflows:
stacks_list:
action: heat.stacks_list
publish:
result: <% task(stacks_list).result %>
result: <% task().result %>
neutron:
type: direct
@ -41,7 +41,7 @@ workflows:
list_subnets:
action: neutron.list_subnets
publish:
result: <% task(list_subnets).result %>
result: <% task().result %>
cinder:
type: direct
@ -49,5 +49,5 @@ workflows:
volumes_list:
action: cinder.volumes_list
publish:
result: <% task(volumes_list).result %>
result: <% task().result %>

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'])