[libcamera-devel] [PATCH 4/6] test: log: log_process: Increase process exit timeout

Kieran Bingham kieran.bingham at ideasonboard.com
Thu Dec 7 17:29:12 CET 2023


Quoting Laurent Pinchart via libcamera-devel (2023-12-06 21:05:22)
> When running tests on slower devices, 200ms is too low to wait for the
> process to exit. Increase the timeout to 2s.


Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>  test/log/log_process.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/log/log_process.cpp b/test/log/log_process.cpp
> index fb6635cc99aa..1926c56039b6 100644
> --- a/test/log/log_process.cpp
> +++ b/test/log/log_process.cpp
> @@ -81,7 +81,7 @@ protected:
>                         return TestFail;
>                 }
>  
> -               timeout.start(200ms);
> +               timeout.start(2s);
>                 while (timeout.isRunning())
>                         dispatcher->processEvents();
>  
> -- 
> Regards,
> 
> Laurent Pinchart
>


More information about the libcamera-devel mailing list