Improve speed of API tests

Registered by Stanislaw Pitucha on 2012-10-13

API tests run slowly because they repeat unnecessary initialisation for every class / test.

Limiting both the number of loaded routes and number of enabled extensions to the bare minimum should improve the situation a lot. (6-7x improvement of the first test execution time)

Blueprint information

Status:
Complete
Approver:
Russell Bryant
Priority:
Low
Drafter:
None
Direction:
Approved
Assignee:
Stanislaw Pitucha
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Russell Bryant on 2012-11-02
Completed by
Russell Bryant on 2012-11-02

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-tests-speed,n,z

Addressed by: https://review.openstack.org/14424
    Speed up volume and routing tests

Addressed by: https://review.openstack.org/14375
    Speed up api.openstack.compute.contrib tests

Addressed by: https://review.openstack.org/14374
    Allow loading only selected extensions

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.