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 Change-Id: I60b7264c6ce44b3b327fdd0dbcede006717c65a6 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit ba8d1da4a971a6351318e86fc613f74843bb2c49) Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
99dfbca5c4
commit
b9be95b070
@ -7,4 +7,6 @@
|
|||||||
qt_internal_add_test(tst_qreadwritelock
|
qt_internal_add_test(tst_qreadwritelock
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qreadwritelock.cpp
|
tst_qreadwritelock.cpp
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
Qt::TestPrivate
|
||||||
)
|
)
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include <qmutex.h>
|
#include <qmutex.h>
|
||||||
#include <qthread.h>
|
#include <qthread.h>
|
||||||
#include <qwaitcondition.h>
|
#include <qwaitcondition.h>
|
||||||
|
#include <private/qemulationdetector_p.h>
|
||||||
|
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -696,6 +697,9 @@ void tst_QReadWriteLock::multipleReadersBlockRelease()
|
|||||||
*/
|
*/
|
||||||
void tst_QReadWriteLock::multipleReadersLoop()
|
void tst_QReadWriteLock::multipleReadersLoop()
|
||||||
{
|
{
|
||||||
|
if (QTestPrivate::isRunningArmOnX86())
|
||||||
|
QSKIP("Flaky on QEMU, QTBUG-96103");
|
||||||
|
|
||||||
int time=500;
|
int time=500;
|
||||||
int hold=250;
|
int hold=250;
|
||||||
int wait=0;
|
int wait=0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user