Move instance actions test into misc policy actions file
Move instance actions 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.
Reviewed: https:/ /review. openstack. org/484533 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=10fdf98c128 fc890863c34872e 1681a61a8b9cfa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 10fdf98c128fc89 0863c34872e1681 a61a8b9cfa
Author: Felipe Monteiro <email address hidden>
Date: Tue Jul 18 04:56:29 2017 +0100
Move instance actions test into misc policy actions file
Move instance actions tests into server_ misc_policy_ actions_ rbac.py to further increase gate
test_
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.
Change-Id: Ie01db6f58229f8 43684d9b4904def a6ed85b5f17
Partial-Bug: #1699415