[openstack-dev] [nova] entrypoint slowness

Doug Hellmann doug.hellmann at dreamhost.com
Wed Oct 31 16:40:44 UTC 2012


On Wed, Oct 31, 2012 at 12:25 PM, Kevin L. Mitchell <
kevin.mitchell at rackspace.com> wrote:

> On Wed, 2012-10-31 at 12:04 -0400, Sean Dague wrote:
> > So I guess the question back to the experts is, is there a path here
> > that makes this not add so much time to the test runs?
>
> Yes, there is.  Stub out stevedore in the test suite.
>

Right.

That could be done by having the Manager that is instantiating the
stevedore class take an instance as an argument instead (meaning the tests
could pass anything that looked like the stevedore class but was less
expensive to create) or use stubout to monkey-patch it out dynamically.

Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121031/0f11ec6e/attachment.html>


More information about the OpenStack-dev mailing list