qt5base-lts/tests/auto/corelib/kernel/qeventloop
Morten Johan Sørvig 4585889467 Fix race condition in the processEvents test
This test verifies processEvents(WaitForMoreEvents)
behavior by first processing all pending events (in
a loop) and then verifying that a following processEvents
call actually waits.

But there is no guarantee that the OS won’t introduce
more events after the first loop has completed. This
does indeed seem to happen on recent versions of macOS.

Change the test to not require that the processEvents
call blocked and de-blacklist.

Task-number: QTBUG-61131
Change-Id: Ic8fa74a6085165442791264f6f137a2fa6083138
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-07-19 12:29:53 +00:00
..
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
BLACKLIST Blacklist tst_QEventLoop:testQuitLock as it is flaky on macOS 2017-05-23 14:52:31 +00:00
qeventloop.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
tst_qeventloop.cpp Fix race condition in the processEvents test 2017-07-19 12:29:53 +00:00