[vlc-devel] [PATCH] test: increase the test timeout to 12s

Steve Lhomme robux4 at ycbcr.xyz
Thu Jan 21 07:29:56 UTC 2021


10s on my (WSL) machine is too short. It works (test_src_player) with 12s.
---
 test/libvlc/test.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/libvlc/test.h b/test/libvlc/test.h
index b40d66d351a..873c20a7139 100644
--- a/test/libvlc/test.h
+++ b/test/libvlc/test.h
@@ -73,7 +73,7 @@ static inline void test_init (void)
 
     /* Make sure "make check" does not get stuck */
     /* Timeout of 10secs by default */
-    unsigned alarm_timeout = 10;
+    unsigned alarm_timeout = 12;
     /* Valid timeout value are < 0, for infinite, and > 0, for the number of
      * seconds */
     char *alarm_timeout_str = getenv("VLC_TEST_TIMEOUT");
-- 
2.29.2



More information about the vlc-devel mailing list