Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.0 Alpha
-
Linux Mint 17.3, 64 Bit
-
78d8985c6bdb7bf9d04fa5e6936aadab5174c6d2
Description
On my machine, when I run ./tst_qwebengineview changeLocale in a loop, it often fails within the first 5-20 iterations.
I get the error message
********* Start testing of tst_QWebEngineView *********
Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.8.4)
PASS : tst_QWebEngineView::initTestCase()
FAIL! : tst_QWebEngineView::changeLocale() 'spyTitleChangedDE.wait()' returned FALSE. ()
Loc: [.../qtwebengine/tests/auto/widgets/qwebengineview/tst_qwebengineview.cpp(857)]
PASS : tst_QWebEngineView::cleanupTestCase()
Looking into QSignalSpy::wait, I see that it fails when the signal it waits for is emitted before wait is called (race condition).
Attachments
Issue Links
- relates to
-
QTBUG-58960 tst_QQuickWebEngineView::changeLocale() failed on win10
-
- Closed
-
For Gerrit Dashboard: QTBUG-58022 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
181735,4 | Harden tst_qwebengineview::changeLocale signal-waiting | 5.8 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
182254,1 | Harden tst_qwebengineview::changeLocale signal-waiting | dev | qt/qtwebengine | Status: ABANDONED | -1 | 0 |
185726,6 | Rework change locale tests for 55-based Chromium | 5.9 | qt/qtwebengine | Status: MERGED | +2 | 0 |
185912,2 | tests: blacklist tst_qwebengineview::changeLocale() on Windows and Linux | 5.8 | qt/qtwebengine | Status: MERGED | +2 | 0 |