Temporarily skip tst_qtcuncurrentrun::pollForIsFinished in emulator
This test causes instability in the CI, but so far nobody could reproduce it outside of that specific CI environment. Skip it for now, and investigate the root cause later. Pick-to: 6.2 6.4 Task-number: QTBUG-106906 Change-Id: Idbbc560236ac475fcb4fdd5980397393f7a95474 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
ae7985b498
commit
fbf55619da
@ -12,6 +12,7 @@ qt_internal_add_test(tst_qtconcurrentrun
|
||||
tst_qtconcurrentrun.cpp
|
||||
LIBRARIES
|
||||
Qt::Concurrent
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include <QTimer>
|
||||
#include <QFutureSynchronizer>
|
||||
|
||||
#include <QtTest/private/qemulationdetector_p.h>
|
||||
|
||||
using namespace QtConcurrent;
|
||||
|
||||
class tst_QtConcurrentRun: public QObject
|
||||
@ -699,6 +701,9 @@ static void runFunction()
|
||||
|
||||
void tst_QtConcurrentRun::pollForIsFinished()
|
||||
{
|
||||
// proxy check for QEMU; catches slightyl more though
|
||||
if (QTestPrivate::isRunningArmOnX86())
|
||||
QSKIP("Runs into spurious crashes on QEMU -- QTBUG-106906");
|
||||
const int numThreads = std::max(4, 2 * QThread::idealThreadCount());
|
||||
QThreadPool::globalInstance()->setMaxThreadCount(numThreads);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user