[katello-devel] Summary: Katello slow tests

Dmitri Dolguikh dmitri at redhat.com
Mon Oct 15 09:27:16 UTC 2012


On 12/10/12 06:16 PM, Miroslav Suchy wrote:
> On 12.10.2012 17:45, Dmitri Dolguikh wrote:
>> In some test suites time spent on db operations amounts to high 40-ties
>> of total test run time. Tests in spec/models have no clear separation
>> between model and glue-layer tests, besides context changes.
>>
>>
>> Some areas of improvement:
>
> * Add indexes to speed up slow queries.
>
> Mirek
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
Queries need to be dealt with, there are no doubts about that. However, 
we don't know what queries are "slow" atm (we need to collect this 
statistic first), and there's a story in the backlog for that. The issue 
with access to the db in tests, is that we do it a *lot*. There's a test 
that creates a hundred object graphs, for example.

-d




More information about the katello-devel mailing list