From 728c03ca7c6878cf6c6a999c90e4ba7212105c46 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Sat, 27 Jan 2024 15:19:56 +0100 Subject: [PATCH] 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 Reviewed-by: hjk Reviewed-by: Eike Ziller --- tests/auto/utils/async/tst_async.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/utils/async/tst_async.cpp b/tests/auto/utils/async/tst_async.cpp index 0c3174d794d..e25a443cce1 100644 --- a/tests/auto/utils/async/tst_async.cpp +++ b/tests/auto/utils/async/tst_async.cpp @@ -392,6 +392,8 @@ public: void tst_Async::onResultReady() { +// TODO: Re-enable when QTBUG-119169 is fixed. +#if 0 { // lambda QObject context; QFuture f = Utils::asyncRun([](QPromise &fi) { @@ -425,6 +427,7 @@ void tst_Async::onResultReady() QCOMPARE(count, 2); QCOMPARE(obj.value, QString("there")); } +#endif { // member QFuture f = Utils::asyncRun([] { return QString("Hi"); }); ObjWithProperty obj;