Move virtual interfaces test into misc policy actions file
Move test_list_virtual_interfaces 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/480650 /git.openstack. org/cgit/ openstack/ patrole/ commit/ ?id=d98273152ab bcdefeb40a8712a f270c3f1e5d6f3
Committed: https:/
Submitter: Jenkins
Branch: master
commit d98273152abbcde feb40a8712af270 c3f1e5d6f3
Author: Felipe Monteiro <email address hidden>
Date: Wed Jul 5 16:33:03 2017 +0100
Move virtual interfaces test into misc policy actions file
Move test_list_ virtual_ interfaces 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: I1ff0c14e741c89 07f2f23a4dd6370 5713f06d337
Partial-Bug: #1699415