qt5base-lts/tests/auto/dbus/qdbuspendingcall
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
..
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
qdbuspendingcall.pro all remaining tests: eliminated usage of qttest_p4.prf 2011-10-25 08:42:23 +02:00
tst_qdbuspendingcall.cpp Fix unstable test due to a race in QThread 2011-11-03 18:43:52 +01:00