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

Umang Jain umang.jain at ideasonboard.com
Fri Dec 8 08:12:12 CET 2023


Hi Laurent,

On 12/7/23 2:35 AM, Laurent Pinchart via libcamera-devel wrote:
> When running tests on slower devices, 200ms is too low to wait for the
> process to exit. Increase the timeout to 2s.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Reviewed-by: Umang Jain <umang.jain 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();
>   



More information about the libcamera-devel mailing list