[Engine-devel] Any way to break the dao_unit_tests up?

Eyal Edri eedri at redhat.com
Mon Aug 20 07:48:22 UTC 2012



----- Original Message -----
> From: "Itamar Heim" <iheim at redhat.com>
> To: "Eyal Edri" <eedri at redhat.com>
> Cc: "Yaniv Kaul" <ykaul at redhat.com>, engine-devel at ovirt.org, "Robert Middleswarth" <robert at middleswarth.net>
> Sent: Monday, August 20, 2012 10:31:15 AM
> Subject: Re: [Engine-devel] Any way to break the dao_unit_tests up?
> 
> On 08/20/2012 10:30 AM, Eyal Edri wrote:
> >
> >
> > ----- Original Message -----
> >> From: "Itamar Heim" <iheim at redhat.com>
> >> To: "Robert Middleswarth" <robert at middleswarth.net>
> >> Cc: "Yaniv Kaul" <ykaul at redhat.com>, engine-devel at ovirt.org, "Eyal
> >> Edri" <eedri at redhat.com>
> >> Sent: Monday, August 20, 2012 10:26:10 AM
> >> Subject: Re: [Engine-devel] Any way to break the dao_unit_tests
> >> up?
> >>
> >> On 08/20/2012 09:40 AM, Robert Middleswarth wrote:
> >>> On 08/20/2012 02:02 AM, Yaniv Kaul wrote:
> >>>> On 08/19/2012 11:03 PM, Robert Middleswarth wrote:
> >>>>> The DAO unit tests take twice as long as the rest of the test
> >>>>> to
> >>>>> run
> >>>>> is there any way to break them up into two pieces?
> >>>>>
> >>>>>
> >>>>
> >>>> Can they run in parallel to the rest of the tests?
> >>>> May be a KISS solution for this problem.
> >>>> Y.
> >>>>
> >>> Yaniv,
> >>>
> >>> That is what I am doing but the current test can't be ran in
> >>> parallel on
> >>> the same host and the jobs backup several hours and none of the
> >>> results
> >>
> >> actually, why can't the test run in parallel on same host?
> >
> > i think we run into errors when trying to do it..
> > it's worth trying to do again and see if the errors are due to
> > environment issues or problems in the tests themselfs.
> 
> if you try to use same schema name, you will fail, but i think we
> fixed
> the dao tests to run in parallel in the past by setting the schema
> name
> per run, etc.
> 

we're using a diff db name, if that's what you mean.
i meant some random tests were failing, but lets check it again and verify it is the case.




More information about the Devel mailing list