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

Christophe Fergeau cfergeau at redhat.com
Mon Oct 16 09:14:22 UTC 2017


Noticed this was never pushed, I've just done it.

On Mon, Aug 07, 2017 at 04:09:42PM -0400, Cole Robinson wrote:
> 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
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20171016/2b307c2a/attachment.sig>


More information about the Libosinfo mailing list