Re: [PATCH spice-common] test-region: Decrease loop count by a factor of 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/07/18 12:04, Uri Lublin wrote:
> On 07/03/2018 05:35 PM, Eduardo Lima (Etrunko) wrote:
>> This test was timing out when running in gitlab-ci, so decreasing the
>> loop count in order to make it run faster. Example:
>>
>> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546
> 
> Hi,
> 
> Just curious, why the test failed with meson but succeed with
> autoconf ?
> 

Default timeout for tests with meson is 30s, not sure about the
parameters with autotools, might be that there is no timeout at all.


> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6545
> 
> Uri.
> 
>>
>> Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>
>> ---
>>   tests/test-region.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/test-region.c b/tests/test-region.c
>> index 2ece5a7..378ea60 100644
>> --- a/tests/test-region.c
>> +++ b/tests/test-region.c
>> @@ -372,7 +372,7 @@ static void test_region(void)
>>       g_debug("\n");
>>         j = 0;
>> -    for (i = 0; i < 1000000; i++) {
>> +    for (i = 0; i < 100000; i++) {
>>           int res1, res2, test;
>>           int tests[] = {
>>               REGION_TEST_LEFT_EXCLUSIVE,
>>
> 


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko@xxxxxxxxxx
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]