[openstack-dev] [Murano] Should we run tests on all supported database engines?

Andrew Pashkin apashkin at mirantis.com
Mon Mar 2 16:32:00 UTC 2015


What kind of layer do you mean?

Right now we have some kind of isolation in the form of separate
functions for DB lookups. For example for this case its
murano.db.catalog.api.package_search [1].

[1]
https://github.com/stackforge/murano/blob/b4918b512010875b9cf3b59d65ff1fbfeaf5f197/murano/db/catalog/api.py#L226-226

On 02.03.2015 19:05, Serg Melikyan wrote:
> Hi Andrew,
> 
> I think we should isolate DB access layer and test this layer
> extensively on MySQL & PostgreSQL. 
> 
> On Mon, Mar 2, 2015 at 6:57 PM, Andrew Pashkin <apashkin at mirantis.com
> <mailto:apashkin at mirantis.com>> wrote:
> 
>     There is a bug:
>     https://bugs.launchpad.net/murano/+bug/1419743
> 
>     It's about that search on packages is failing if use Postgres as DB
>     backend. The fix is pretty easy there, but how this bug should be
>     tested?
> 
>     I see such options:
>     1) Run all tests for all DBs that we support.
>     2) Run some tests for some DBs.
>     3) Do not test such issues at all.
> 
>     Do anyone has some thoughts on this?
> 
>     --
>     With kind regards, Andrew Pashkin.
>     cell phone - +7 (985) 898 57 59
>     Skype - waves_in_fluids
>     e-mail - apashkin at mirantis.com <mailto:apashkin at mirantis.com>
> 
>     __________________________________________________________________________
>     OpenStack Development Mailing List (not for usage questions)
>     Unsubscribe:
>     OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>     <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> 
> -- 
> Serg Melikyan, Senior Software Engineer at Mirantis, Inc.
> http://mirantis.com <http://mirantis.com/> | smelikyan at mirantis.com
> <mailto:smelikyan at mirantis.com>
> 
> +7 (495) 640-4904, 0261
> +7 (903) 156-0836
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

-- 
With kind regards, Andrew Pashkin.
cell phone - +7 (985) 898 57 59
Skype - waves_in_fluids
e-mail - apashkin at mirantis.com



More information about the OpenStack-dev mailing list