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

Pino Toscano ptoscano at redhat.com
Mon Aug 7 11:44:50 UTC 2017


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);
-- 
2.13.4




More information about the Libosinfo mailing list