[Libosinfo] [libosinfo PATCH] tests: test-mediauris: raise timeout to 5 minutes

Cole Robinson crobinso at redhat.com
Mon Aug 7 20:09:42 UTC 2017


On 08/07/2017 07:44 AM, Pino Toscano wrote:
> With the growing amount of distros in osinfo-db, the test takes more
> and more time to complete, hitting the 2 minutes timeout in case of any
> network hiccup (or simply when a server takes more time to reply).
> 
> Hence, raise the timeout to 5 minutes, which ought to be enough now.
> ---
>  tests/test-mediauris.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/test-mediauris.c b/tests/test-mediauris.c
> index 1b330ed..837197c 100644
> --- a/tests/test-mediauris.c
> +++ b/tests/test-mediauris.c
> @@ -113,7 +113,7 @@ list_suite(void)
>  {
>      Suite *s = suite_create("List");
>      TCase *tc = tcase_create("Core");
> -    tcase_set_timeout(tc, 120);
> +    tcase_set_timeout(tc, 300);
>  
>      tcase_add_test(tc, test_uris);
>      suite_add_tcase(s, tc);
> 

ACK, seems sensible to me

- Cole




More information about the Libosinfo mailing list