qt6-bb10/tests/auto/network/socket/qlocalsocket
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
..
socketprocess tst_QLocalSocket: Fix flakiness of processConnection 2018-02-28 07:06:43 +00:00
test QtNetwork: Remove Windows CE. 2016-03-29 20:28:18 +00:00
.gitignore
qlocalsocket.pro
tst_qlocalsocket.cpp Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00