[OpenStack-Infra] Using MySQL for unit tests in storyboard
Ruslan Kamaldinov
rkamaldinov at mirantis.com
Wed Mar 26 22:05:23 UTC 2014
On Thu, Mar 27, 2014 at 12:30 AM, James E. Blair <jeblair at openstack.org> wrote:
> Ruslan has commented in that review with the following:
>
>> But, I think that we should consider work done in major OpenStack
>> projects. They don't use real MySQL to run unit-tests. Here is what
>> the do (or plan to do):
>>
>> * Run unit-tests on SQLite. DB schema is created from SQLA metadata
>> * Run DB migration tests on MySQL and Postgres
>> * Run tests to compare SQLA metadata and DB migrations to make sure
>> that they're in sync. Here is WIP patch
>> https://review.openstack.org/#/c/
>>
>> I'm not opposed to this direction, I just want to make sure we're
>> aligned with the common practices in OpenStack
>
> (That last link doesn't seem to be correct.)
Here is the link:
https://review.openstack.org/#/c/74081/
More information about the OpenStack-Infra
mailing list