yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02583
[Bug 1172475] Re: Functional tests spend too much time creating the DB
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => havana-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1172475
Title:
Functional tests spend too much time creating the DB
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
Every functional test in glance that creates a registry service and/or
a api service also creates a fresh sqlite db by forking out a call to
glance-manage db_sync. This is expensive now, and will only get more
expensive, because db_sync must walk every migration.
We should change that a clean db is only created once and then cached.
A copy of the cache could then be used for each test. An initial
proof of concept shows that this could speed up tests by 3x
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1172475/+subscriptions