summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/object-invoke.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/object-invoke.cpp b/test/object-invoke.cpp
index f6ae2604..6582fa75 100644
--- a/test/object-invoke.cpp
+++ b/test/object-invoke.cpp
@@ -5,7 +5,6 @@
* object-invoke.cpp - Cross-thread Object method invocation test
*/
-#include <chrono>
#include <iostream>
#include <thread>
@@ -103,8 +102,7 @@ protected:
thread_.start();
object.invokeMethod(&InvokedObject::method,
- ConnectionTypeAuto, 42);
- this_thread::sleep_for(chrono::milliseconds(100));
+ ConnectionTypeBlocking, 42);
switch (object.status()) {
case InvokedObject::NoCall: