qt5base-lts/tests/auto/network/socket
Dimitrios Apostolou c7e0a1a966 Fix flaky test timing out sometimes while waiting for data
The test used to hang on waitForRead(), sometimes, which underneath
involve a poll()+read() syscall pair.
When this happened, the IMAP data came together with the proxy data on a
previous poll()+read() call and the proxy code had already consumed it.

We now wait for data only if data is not already available.

Fixes: QTBUG-96345
Pick-to: 6.2
Change-Id: I084f5d1268a5091ea614fcec91c8d356dcb90d9f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2021-09-17 16:48:44 +02:00
..
platformsocketengine Allow to set TCP network listen(2) backlog 2021-07-19 17:05:53 -03:00
qabstractsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhttpsocketengine CMake: Remove the usage of QT_SOURCE_TREE from tests 2021-07-12 18:56:14 +02:00
qlocalsocket QLocalSocket/Win: fix waitFor...() functions for write-only socket 2021-09-02 08:47:11 +03:00
qsctpsocket Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsocks5socketengine Fix flaky test timing out sometimes while waiting for data 2021-09-17 16:48:44 +02:00
qtcpserver Blacklist tst_QTcpServer::linkLocal on macOS ARM 2021-05-26 21:24:40 +02:00
qtcpsocket Blacklist problematic network auto-tests on macOS ARM 2021-05-26 12:49:56 +02:00
qudpsocket tests: fix deprecated implicit capture of this via [=] 2021-06-30 23:13:28 +02:00
CMakeLists.txt Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00