qt5base-lts/tests/auto/network/socket/qlocalsocket/socketprocess
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
..
main.cpp tst_QLocalSocket: Fix flakiness of processConnection 2018-02-28 07:06:43 +00:00
socketprocess.pro tst_qlocalsocket: get rid of QtScript dependency 2012-10-19 02:43:05 +02:00