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

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Dec 6 22:05:22 CET 2023


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>
---
 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