commit a662f824fea8fe8347391371ab468b1561637bf3
Author: Felipe Monteiro <email address hidden>
Date: Fri Jun 23 16:39:07 2017 +0100
Minimize number of servers created for more tests
Move additional RBAC tests into test_server_misc_policy_actions_rbac.py
to further increase gate stability and decrease gate run time.
The number of calls to create_test_server() should be minimized
for RBAC testing because we don't do too much modification to the
resources that are created -- only what's necessary to trigger the
API action corresponding to the RBAC policy under test. Further,
minimizing such calls reduces the risk of spinning up too many servers
concurrently in our gates: the source of various gate failures as
limited resources lead to server faults being raised.
To that end, the following tests can be migrated to
test_server_misc_policy_actions_rbac.py:
Reviewed: https:/ /review. openstack. org/476956 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=a662f824fea 8fe8347391371ab 468b1561637bf3
Committed: https:/
Submitter: Jenkins
Branch: master
commit a662f824fea8fe8 347391371ab468b 1561637bf3
Author: Felipe Monteiro <email address hidden>
Date: Fri Jun 23 16:39:07 2017 +0100
Minimize number of servers created for more tests
Move additional RBAC tests into test_server_ misc_policy_ actions_ rbac.py
to further increase gate stability and decrease gate run time.
The number of calls to create_ test_server( ) should be minimized
for RBAC testing because we don't do too much modification to the
resources that are created -- only what's necessary to trigger the
API action corresponding to the RBAC policy under test. Further,
minimizing such calls reduces the risk of spinning up too many servers
concurrently in our gates: the source of various gate failures as
limited resources lead to server faults being raised.
To that end, the following tests can be migrated to server_ misc_policy_ actions_ rbac.py:
test_
- test_admin_ password_ rbac server_ rbac server_ rbac
- test_lock_
- test_suspend_
Additional migrations will be made in follow-up patches.
Change-Id: I7cf80d39b770af eb02d666266411f a2a91601eb9
Partial-Bug: #1699415