Async: Disable onResultReady test

To be enabled again when QTBUG-119169 is fixed.

Task-number: QTBUG-119169
Change-Id: I0a889faf3726d53ced11cecfc7c569f6aaa6ffd5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2024-01-27 15:19:56 +01:00
parent c1842d9aec
commit 728c03ca7c

View File

@@ -392,6 +392,8 @@ public:
void tst_Async::onResultReady()
{
// TODO: Re-enable when QTBUG-119169 is fixed.
#if 0
{ // lambda
QObject context;
QFuture<QString> f = Utils::asyncRun([](QPromise<QString> &fi) {
@@ -425,6 +427,7 @@ void tst_Async::onResultReady()
QCOMPARE(count, 2);
QCOMPARE(obj.value, QString("there"));
}
#endif
{ // member
QFuture<QString> f = Utils::asyncRun([] { return QString("Hi"); });
ObjWithProperty obj;