[libcamera-devel] [PATCH 5/6] test: ipc: unixsocket: Increase process exit timeout
Kieran Bingham
kieran.bingham at ideasonboard.com
Thu Dec 7 17:29:27 CET 2023
Quoting Laurent Pinchart via libcamera-devel (2023-12-06 21:05:23)
> 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/ipc/unixsocket.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/ipc/unixsocket.cpp b/test/ipc/unixsocket.cpp
> index 304e613bc984..1d4df28726cd 100644
> --- a/test/ipc/unixsocket.cpp
> +++ b/test/ipc/unixsocket.cpp
> @@ -431,7 +431,7 @@ private:
> if (ret)
> return ret;
>
> - timeout.start(200ms);
> + timeout.start(2s);
> while (!callDone_) {
> if (!timeout.isRunning()) {
> cerr << "Call timeout!" << endl;
> --
> Regards,
>
> Laurent Pinchart
>
More information about the libcamera-devel
mailing list