qt6-bb10/tests/auto/network
Timur Pocheptsov 39355daa40 tst_QNetworkReply::getFromUnreachableIp - fix a failing test
This patch works around Windows X86 on QEMU antics.

It appears on this platform the test behaves in some unpredictable manner:
- WSAConnect with 255.255.255.255 does not always immediately fail with
  some error, so socket engine waits for a connection timeout (30 s.),
  but the test itself
- only waits for 5 seconds and then tests that a request has finished with
  error, which is not true (we are still connecting).

To make it work - whenever we have bearermanager feature enabled, set
a connection timeout to something reasonable, not 30 s.
Since we try to connect to each address twice, make timeout 1.5 s
(so it's 3 s. in total and still is < 5 s.).

Task-number: QTBUG-64264
Change-Id: I1d40c140667fca8402ec9344e66d313b6df54256
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-11-08 13:28:51 +00:00
..
access tst_QNetworkReply::getFromUnreachableIp - fix a failing test 2017-11-08 13:28:51 +00:00
bearer Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
kernel Fix #if-ery and accompanying comment 2017-09-20 11:50:47 +00:00
socket qudpsocket.pro - fix dependencies 2017-11-07 09:23:38 +00:00
ssl tst_QSsl(longlongnamefollows) - fix a flakey auto-test 2017-10-03 16:37:30 +00:00
network.pro Re-enable network tests on Mac OS. 2012-04-24 16:06:28 +02:00