qt5base-lts/tests/auto/corelib
Jarek Kobus 225cc60954 Fix flaky QFutureWatcher::startFinish() test
Since waiting for a spy employs polling, it may happen
that while waiting for a startedSpy we had received already
a signal for finishedSpy. This explains current flakiness.

The fix is to connect to lambdas instead and update
the hit count accordingly. Inside lambdas we also
ensure the correct order for started / finised signals.

After waitForFinished() unblocks we ensure that possible
pending asynchronous signals (started / finished) are processed
and check the final state.

Task-number: QTBUG-83076
Change-Id: I16963ef9c011cb613d7b409d3e3032303a942336
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-09-03 20:45:00 +02:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-09-03 18:43:22 +02:00
global Long live QKeyCombination! 2020-09-03 07:00:31 +02:00
io QStandardPaths/Unix: improve the XDG_RUNTIME_DIR creation/detection 2020-08-25 16:13:44 -07:00
itemmodels Long live QAIM::multiData! 2020-09-02 22:51:42 +02:00
kernel Reimplement QSequentialIterable using QMetaSequence 2020-09-03 08:27:44 +02:00
mimetypes Fix warnings about unused expression results in tests 2020-07-29 14:33:29 +02:00
plugin Make QUUid constructors from string like types explicit 2020-08-27 18:58:21 +02:00
serialization Change QByteArray to handle large arrays 2020-08-27 18:58:20 +02:00
text QByteArray: Disregard space at front during ::reserve(...) 2020-09-02 23:10:21 +02:00
thread Fix flaky QFutureWatcher::startFinish() test 2020-09-03 20:45:00 +02:00
time Fix crash on serializing default-constructed QTimeZone 2020-08-23 09:55:29 +02:00
tools QWeakPointer: purge deprecated API 2020-08-31 10:32:39 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00