qt6-bb10/tests/auto/network
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
..
access Blacklist tst_QNetworkReply::ioHttpRedirectPolicy 2018-02-28 06:51:08 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Blacklist tst_QNetworkInterface::localAddress(linklocal-ipv4) in ci 2018-01-10 21:26:20 +00:00
socket tst_QLocalSocket: Fix flakiness of processConnection 2018-02-28 07:06:43 +00:00
ssl qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
network.pro