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

Thomas Guillem thomas at gllm.fr
Thu Jan 21 09:50:13 UTC 2021


You can set VLC_TEST_TIMEOUT.
The CI use a timeout of 60 seconds since many jobs can be run in //.

If we increase it, I think we should double it (so, 20).

On Thu, Jan 21, 2021, at 08:29, Steve Lhomme wrote:
> 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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list