qt6-bb10/tests/auto/network/socket
Kari Oikarinen b55a32cd4b tst_QLocalSocket: Fix flakiness of processConnection
The test's client processes are prepared for the server not being ready when
they try to connect and handle QLocalSocket::ServerNotFoundError by waiting and
trying again.

However, on Ubuntu 16.04 and 17.10 and possibly other systems, sometimes the
error returned by qt_safe_connect inside QLocalSocket is ECONNREFUSED instead of
ENOENT. This has caused flaky failures in CI, so wait and try again in the case
of QLocalSocket::ConnectionRefusedError also.

Task-number: QTBUG-66679
Task-number: QTBUG-66216
Change-Id: I61e3d5b052d84c5ba9d1746f2c71db37cedbf925
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-02-28 07:06:43 +00:00
..
platformsocketengine QNativeSocketEngine: disable unused methods about OS socket buffer 2017-09-01 16:40:36 +00:00
qabstractsocket Updated license headers 2016-01-21 18:55:18 +00:00
qhttpsocketengine Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qlocalsocket tst_QLocalSocket: Fix flakiness of processConnection 2018-02-28 07:06:43 +00:00
qsctpsocket Network: Use canonical license headers 2017-02-28 15:34:01 +00:00
qsocks5socketengine tst_QSocks5SocketEngine::downloadBigFile(): Output elapsed time 2017-06-28 17:54:07 +00:00
qtcpserver Fix tst_QTcpServer::maxPendingConnections flakiness 2018-02-09 18:45:25 +00:00
qtcpsocket Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qudpsocket Widen the blacklists for flaky udp tests 2018-02-27 11:44:17 +00:00
socket.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00