[libcamera-devel] [PATCH 5/6] test: object-invoke: invoke method in blocking mode

Jacopo Mondi jacopo at jmondi.org
Sun Oct 27 21:33:34 CET 2019


Change the object-invoke test to perform the second method invocation
operation in blocking mode.

Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
 test/object-invoke.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/object-invoke.cpp b/test/object-invoke.cpp
index 6e0e24b146f0..4ae8c91ab7f0 100644
--- a/test/object-invoke.cpp
+++ b/test/object-invoke.cpp
@@ -102,8 +102,7 @@ protected:
 		thread_.start();
 
 		object.invokeMethod(&InvokedObject::method,
-				    InvocationTypeAuto, 42);
-		this_thread::sleep_for(chrono::milliseconds(100));
+				    InvocationTypeBlocking, 42);
 
 		switch (object.status()) {
 		case InvokedObject::NoCall:
-- 
2.23.0



More information about the libcamera-devel mailing list