[openstack-dev] [all] Acceptable methods for establishing per-test-suite behaviors

Doug Hellmann doug at doughellmann.com
Mon Aug 25 19:25:57 UTC 2014


On Aug 22, 2014, at 4:09 PM, James E. Blair <corvus at inaugust.com> wrote:

> Hi,
> 
> One of the things we've wanted for a while in some projects is a
> completely separate database environment for each test when using MySQL.
> To that end, I wrote a MySQL schema fixture that is in use in nodepool:
> 
> http://git.openstack.org/cgit/openstack-infra/nodepool/tree/nodepool/tests/__init__.py#n75
> 
> While a per-test schema is more overhead than what you're asking about,
> it's sometimes very desirable and quite simple.

Yes, that would be a useful addition to oslo.db, too.

Doug

> 
> -Jim
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list