qt6-bb10/tests/auto/corelib/thread
Sona Kurazyan 5a3bbb5585 tst_QFuture::continuationsWithContext: fix the flakiness
When attaching a continuation with the default (QtFuture::Launch::Sync)
policy, it will be launched in the same thread where the parent has
been executing, or in the thread where the parent lives, if the
continuation is attached after the parent has already finished. Fixed
the test-case to make sure the continuations are attached while the
parent is still running, so that they can be resolved in the parent's
context.

Fixes: QTBUG-91373
Pick-to: 6.1
Change-Id: I82b3b0c47b76d121b44bd512659c08b3b474e351
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-02-25 16:08:43 +01:00
..
qatomicint Remove the qmake project files 2021-01-07 15:32:28 +01:00
qatomicinteger Remove the qmake project files 2021-01-07 15:32:28 +01:00
qatomicpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuture tst_QFuture::continuationsWithContext: fix the flakiness 2021-02-25 16:08:43 +01:00
qfuturesynchronizer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfuturewatcher Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmutex Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmutexlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpromise Remove the qmake project files 2021-01-07 15:32:28 +01:00
qreadlocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qreadwritelock Remove the qmake project files 2021-01-07 15:32:28 +01:00
qresultstore Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsemaphore Remove the qmake project files 2021-01-07 15:32:28 +01:00
qthread Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
qthreadonce Remove the qmake project files 2021-01-07 15:32:28 +01:00
qthreadpool Revert "Port QThreadPool to the new property system" 2021-01-29 10:55:42 +00:00
qthreadstorage Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qwaitcondition Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwritelocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00