Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
5.5.1
-
None
-
Windows, MSVC2010/15
-
f079636a3ee5538eb79fd4e7e6ffcb0465a015a0
Description
Test fails with
********* Start testing of tst_qdeclarativetextedit ********* Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015) PASS : tst_qdeclarativetextedit::initTestCase() PASS : tst_qdeclarativetextedit::delegateLoading(pass) QWARN : tst_qdeclarativetextedit::delegateLoading(fail1) QIODevice::write (QTcpSocket): device not open [spurious] FAIL! : tst_qdeclarativetextedit::delegateLoading(fail1) '(view->status()==QDeclarativeView::Error)' returned FALSE. () .\tst_qdeclarativetextedit.cpp(1935) : failure location QWARN : tst_qdeclarativetextedit::delegateLoading(fail2) http://localhost:42332/cursorHttpTestFail2.qml:7:35: Type ErrItem unavailable PASS : tst_qdeclarativetextedit::delegateLoading(fail2) PASS : tst_qdeclarativetextedit::cleanupTestCase() Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted ********* Finished testing of tst_qdeclarativetextedit *********
The test uses a local test HTTP server and tries to simulate a network error, apparently (qtquick1\tests\auto\declarative\shared\testhttpserver.cpp).
Notes:
- The corresponding test in QtQuick2 (tests\auto\quick\qquicktextedit) still passes .
- Introduced by : " Fix the spurious socket notifications under Windows " (a6ec869211d67fed94e3513dc453a96717155121) https://codereview.qt-project.org/#/c/123205/ .
- The code of the test HTTP server in QtQuick1 has changed a bit since it was copy/pasted to QtQuick2 Updating it to the version in QtQuick2 does not help.
Attachments
Issue Links
- is required for
-
QTBUG-46863 Issues to be fixed before Qt 5.5.1
- Closed
- resulted from
-
QTBUG-46552 QUdpSocket: readyRead() stops firing
- Closed
-
QTBUG-49636 CLONE - QUdpSocket: readyRead() stops firing
- Closed
- resulted in
-
QTBUG-48326 Race condition when multiple network requests are open, and the remote socket is closed prematurely
- Closed