Comment 2 for bug 1699415

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to patrole (master)

Reviewed: https://review.openstack.org/476956
Committed: https://git.openstack.org/cgit/openstack/patrole/commit/?id=a662f824fea8fe8347391371ab468b1561637bf3
Submitter: Jenkins
Branch: master

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:

      - test_admin_password_rbac
      - test_lock_server_rbac
      - test_suspend_server_rbac

    Additional migrations will be made in follow-up patches.

    Change-Id: I7cf80d39b770afeb02d666266411fa2a91601eb9
    Partial-Bug: #1699415