qt5base-lts/tests/auto/dbus
Bradley T. Hughes faa6113c41 Fix unstable test due to a race in QThread
QThread::finished() is emitted before setting the thread's state to
finished and !running, which means it's possible to receive the
finished() signal and act on it while QThread::isRunning() still
returns true.

This test randomly fails due to this race. Fix it by using checking
the return value of QThread::wait() instead.

Change-Id: Ibf347fc9a2e8d32b328227ee6978e1129dd781f4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2011-11-03 18:43:52 +01:00
..
qdbusabstractadaptor all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusabstractinterface all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusconnection all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusconnection_no_bus all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbuscontext all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusinterface all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbuslocalcalls all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusmarshall Remove redundant #if 1 from qdbusmarshall test 2011-11-02 05:43:40 +01:00
qdbusmetaobject all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusmetatype all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbuspendingcall Fix unstable test due to a race in QThread 2011-11-03 18:43:52 +01:00
qdbuspendingreply all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusreply all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusservicewatcher all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusthreading all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbustype all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
qdbusxmlparser all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
dbus.pro Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00