qt5base-lts/tests/auto/network
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
..
access tst_http2: Fix flaky authentication test 2021-09-10 14:17:05 +00:00
kernel tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
selftest Remove the qmake project files 2021-01-07 15:32:28 +01:00
socket Fix flaky test timing out sometimes while waiting for data 2021-09-17 16:48:44 +02:00
ssl Fix loading of OpenSSL on macOS versions that ship its own OpenSSL 2021-09-17 16:09:51 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00