Merge "Make keystone-protection-functional job voting"

This commit is contained in:
Zuul
2026-05-13 19:26:54 +00:00
committed by Gerrit Code Review
3 changed files with 12 additions and 9 deletions
-1
View File
@@ -1,7 +1,6 @@
- job:
name: keystone-protection-functional
parent: keystone-tempest
voting: false
vars:
tempest_test_regex: 'keystone_tempest_plugin.tests.rbac'
devstack_localrc:
@@ -125,7 +125,8 @@ class SystemAdminTests(IdentityV3RbacDomainTests, base.BaseIdentityTest):
description=data_utils.arbitrary_string())
# user gets a 404 for nonexistent domain
self.do_request('update_domain', expected_status=exceptions.NotFound,
domain_id=data_utils.rand_uuid_hex())
domain_id=data_utils.rand_uuid_hex(),
description=data_utils.arbitrary_string())
def test_identity_delete_domain(self):
domain_id = self.admin_domains_client.create_domain(
@@ -156,7 +157,8 @@ class SystemMemberTests(SystemAdminTests, base.BaseIdentityTest):
description=data_utils.arbitrary_string())
# user gets a 404 for nonexistent domain
self.do_request('update_domain', expected_status=exceptions.NotFound,
domain_id=data_utils.rand_uuid_hex())
domain_id=data_utils.rand_uuid_hex(),
description=data_utils.arbitrary_string())
def test_identity_delete_domain(self):
domain_id = self.admin_domains_client.create_domain(
@@ -174,8 +174,9 @@ class SystemMemberTests(SystemAdminTests, base.BaseIdentityTest):
expected_status=exceptions.Forbidden,
endpoint_id=endpoint_id,
interface='internal')
# user gets a 404 for nonexistent endpoint
self.do_request('update_endpoint', expected_status=exceptions.NotFound,
# user also gets Forbidden for nonexistent endpoint
self.do_request('update_endpoint',
expected_status=exceptions.Forbidden,
endpoint_id=data_utils.rand_uuid_hex(),
interface='internal')
@@ -185,8 +186,9 @@ class SystemMemberTests(SystemAdminTests, base.BaseIdentityTest):
self.do_request('delete_endpoint',
expected_status=exceptions.Forbidden,
endpoint_id=endpoint_id)
# user gets a 404 for nonexistent endpoint
self.do_request('delete_endpoint', expected_status=exceptions.NotFound,
# user also gets Forbidden for nonexistent endpoint
self.do_request('delete_endpoint',
expected_status=exceptions.Forbidden,
endpoint_id=data_utils.rand_uuid_hex())
@@ -207,8 +209,8 @@ class DomainAdminTests(SystemReaderTests, base.BaseIdentityTest):
endpoint_id=endpoint_id)
self.do_request('show_endpoint', expected_status=exceptions.Forbidden,
endpoint_id=endpoint_id)
# user gets a 404 for nonexistent endpoint
self.do_request('show_endpoint', expected_status=exceptions.NotFound,
# user also gets Forbidden for nonexistent endpoint
self.do_request('show_endpoint', expected_status=exceptions.Forbidden,
endpoint_id=data_utils.rand_uuid_hex())
def test_identity_list_endpoints(self):