Skip tst_QReadWriteLock::multipleReadersLoop on QEMU
The test is randomly failing in the CI on QEMU. Couldn't reproduce it on the actual armv7 hardware, so most likely it's not a Qt bug. Fixes: QTBUG-96103 Pick-to: 6.1 6.2 Change-Id: I60b7264c6ce44b3b327fdd0dbcede006717c65a6 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
7b1254b009
commit
ba8d1da4a9
|
|
@ -9,4 +9,5 @@ qt_internal_add_test(tst_qreadwritelock
|
|||
tst_qreadwritelock.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::CorePrivate
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
#include <qmutex.h>
|
||||
#include <qthread.h>
|
||||
#include <qwaitcondition.h>
|
||||
#include <private/qemulationdetector_p.h>
|
||||
#include <private/qvolatile_p.h>
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
|
|
@ -693,6 +694,9 @@ void tst_QReadWriteLock::multipleReadersBlockRelease()
|
|||
*/
|
||||
void tst_QReadWriteLock::multipleReadersLoop()
|
||||
{
|
||||
if (QTestPrivate::isRunningArmOnX86())
|
||||
QSKIP("Flaky on QEMU, QTBUG-96103");
|
||||
|
||||
constexpr int time = 500;
|
||||
constexpr int hold = 250;
|
||||
constexpr int wait = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue