diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-14 03:00:12 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-05-14 03:00:12 +0200 |
commit | ba171e01f90e9399ca4bfab0204b2932380ad64f (patch) | |
tree | a74f3fa30d114ea064cbfc618846e387e7996237 /tests | |
parent | a8a3088f1fcd7ff00e7748040473c27c4bea8dad (diff) | |
parent | e520e4fd777350673d5022982481f82672fea6ff (diff) |
Merge remote-tracking branch 'origin/5.12' into 5.13
Change-Id: Idcef361153ac1f2af9f56619dbfb1227c0d407d7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/proxy_multiprocess/client/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/proxy_multiprocess/client/main.cpp b/tests/auto/proxy_multiprocess/client/main.cpp index 4874fb1..f37821f 100644 --- a/tests/auto/proxy_multiprocess/client/main.cpp +++ b/tests/auto/proxy_multiprocess/client/main.cpp @@ -72,6 +72,8 @@ private Q_SLOTS: qDebug() << "Verified expected initial states, sending start."; auto reply = m_rep->start(); QVERIFY(reply.waitForFinished()); + QVERIFY(reply.error() == QRemoteObjectPendingCall::NoError); + QCOMPARE(reply.returnValue(), QVariant::fromValue(true)); QSignalSpy advanceSpy(m_rep.data(), SIGNAL(advance())); QVERIFY(advanceSpy.wait()); @@ -87,7 +89,10 @@ private Q_SLOTS: void cleanupTestCase() { auto reply = m_rep->quit(); - QVERIFY(reply.waitForFinished()); + // Don't verify the wait result, depending on the timing of the server and proxy + // closing it may return false. We just need this process to stay alive long + // enough for the packets to be sent. + reply.waitForFinished(5000); } private: |