[openstack-dev] [Fuel] Testing DB migrations

Boris Bobrov bbobrov at mirantis.com
Fri Mar 6 14:24:05 UTC 2015

On Friday 06 March 2015 16:57:19 Nikolay Markov wrote:
> Hi everybody,
> From time to time some bugs appear regarding failed database migrations
> during upgrade and we have High-priority bug for 6.1 (
> https://bugs.launchpad.net/fuel/+bug/1391553) on testing this migration
> process. I want to start a thread for discussing how we're going to do it.
> I don't see any obvious solution, but we can at least start adding tests
> together with any changes in migrations, which will use a number of various
> fake environments upgrading and downgrading DB.
> Any thoughts?

In Kyestone adding unit tests and running them in in-memory sqlite was proven 
ineffective.The only solution we've come to is to run all db-related tests 
against real rdbmses.

Best regards,
Boris Bobrov

More information about the OpenStack-dev mailing list