qt5base-lts/tests/auto/network/socket/qtcpsocket
Timur Pocheptsov 4111d8e8e7 tst_QTcpSocket::connectToHostError - handle possible timeouts
... instead of failing the test. On Ubuntu 20.04 when calling
'connect' with 0.0.0.1 we get EINPROGRESS and nothing else,
since our own internal timer has 30 s. timeout, the event loop
in the test stops before this and no socket error detected yet.
Handle such situation without failing a test.

Fixes: QTBUG-88042
Change-Id: Id6add27fcf9bbbe5fbf83a193652edf08fbad8d6
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-11-20 14:34:04 +01:00
..
stressTest Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
test CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.gitignore
BLACKLIST tst_QTcpSocket::connectToHostError - handle possible timeouts 2020-11-20 14:34:04 +01:00
CMakeLists.txt CMake: Regenerate and fix qtcpsocket test 2020-03-18 16:36:26 +01:00
qtcpsocket.pro
tst_qtcpsocket.cpp tst_QTcpSocket::connectToHostError - handle possible timeouts 2020-11-20 14:34:04 +01:00