----- Original Message -----
From: "Itamar Heim" <iheim(a)redhat.com>
To: "Eyal Edri" <eedri(a)redhat.com>
Cc: "Yaniv Kaul" <ykaul(a)redhat.com>, engine-devel(a)ovirt.org, "Robert
Middleswarth" <robert(a)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(a)redhat.com>
>> To: "Robert Middleswarth" <robert(a)middleswarth.net>
>> Cc: "Yaniv Kaul" <ykaul(a)redhat.com>, engine-devel(a)ovirt.org,
"Eyal
>> Edri" <eedri(a)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.