summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qdbuspendingcall/tst_qdbuspendingcall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdbuspendingcall/tst_qdbuspendingcall.cpp b/tests/auto/qdbuspendingcall/tst_qdbuspendingcall.cpp
index 3213a1b..4efc318 100644
--- a/tests/auto/qdbuspendingcall/tst_qdbuspendingcall.cpp
+++ b/tests/auto/qdbuspendingcall/tst_qdbuspendingcall.cpp
@@ -426,7 +426,7 @@ void tst_QDBusPendingCall::watcher_waitForFinished_threaded()
QTestEventLoop::instance().connect(&thread, SIGNAL(finished()), SLOT(exitLoop()));
thread.start();
QTestEventLoop::instance().enterLoop(10);
- QVERIFY(!thread.isRunning());
+ QVERIFY(thread.wait(3000));
QVERIFY(!QTestEventLoop::instance().timeout());
}