tst_QTimer: delete XPASSing flaky test
This is fixed in Qt 6.10/dev, by one of many changes affecting the event loop and threading, so it's not obvious which one. It's been flaky on 6.9 for the GUI Glib event loop and has been XPASS'ing. 1133: ********* Start testing of tst_QGuiTimer ********* XPASS : tst_QGuiTimer::crossThreadSingleShotDestruction(1s) 'deadTimerDestroyed' returned TRUE unexpectedly. () Loc: [/home/qt/work/qt/qtbase/tests/auto/corelib/kernel/qtimer/tst_qtimer.cpp(1328)] Pick-to: 6.8 Change-Id: Ibbe5373a1f36eaab9830fffdac20c042682c583e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
5bfbc3f173
commit
c76d1a9753
@ -1321,10 +1321,7 @@ void tst_QTimer::crossThreadSingleShotDestruction()
|
||||
QVERIFY(!timer);
|
||||
}
|
||||
|
||||
# if defined(Q_OS_DARWIN) || defined(Q_OS_WIN) || defined(Q_OS_QNX) || defined(DISABLE_GLIB)|| defined(QT_NO_GLIB) || defined(QT_GUI_LIB)
|
||||
QEXPECT_FAIL("1s", "Events posted to a thread after event loop exit are leaking.",
|
||||
Continue);
|
||||
# endif
|
||||
return; // Events posted to a thread after event loop exit are leaking.
|
||||
QVERIFY(deadTimerDestroyed);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user