Move tenant usage tests into misc policy actions file
Move tenant usage 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/481404 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=4047a19265e 939eb9c9d6308ac f2c879762e9b6d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4047a19265e939e b9c9d6308acf2c8 79762e9b6d
Author: Felipe Monteiro <email address hidden>
Date: Fri Jul 7 04:56:36 2017 +0100
Move tenant usage tests into misc policy actions file
Move tenant usage 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.
Change-Id: Ib104c08a5fa170 8a829e5f91a587d f6ba9c08ee0
Partial-Bug: #1699415