qt5base-lts/tests/auto
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
..
cmake Fix qt_add_big_resources with namespace builds 2021-01-19 14:17:55 +01:00
concurrent Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
corelib tst_QFuture::continuationsWithContext: fix the flakiness 2021-02-25 16:08:43 +01:00
dbus dbus: Fix missing QVersionNumber include 2021-01-25 12:09:17 +01:00
gui And fix handling and test of QImage::fill(uint) as well 2021-02-25 09:46:55 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Fix some warnings about virtual/override 2021-02-23 15:15:45 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
testlib Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
tools Move build tools to libexec instead of the bin dir 2021-02-23 17:02:30 +01:00
widgets Verify that QFileIconProvider returns valid pixmaps 2021-02-23 15:34:05 +01:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00