qt5base-lts/tests/auto/network/access
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
..
hpack HPACK implementation 2016-06-15 11:26:45 +00:00
hsts Add HTTP strict tranport security support to QNAM 2017-01-20 08:41:50 +00:00
http2 Fix some MSVC warnings in tests 2017-06-28 17:58:13 +00:00
qabstractnetworkcache qabstractnetworkcache - enable several tests 2016-01-26 13:12:03 +00:00
qftp Convert features.socks5 to QT_[REQUIRE_]CONFIG 2017-09-06 06:50:54 +00:00
qhttpnetworkconnection Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qhttpnetworkreply Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qnetworkaccessmanager Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkcachemetadata Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkcookie Add qtest_network.h 2016-09-29 21:46:19 +00:00
qnetworkcookiejar Fix cookie path matching for empty url path 2017-10-19 12:51:38 +00:00
qnetworkdiskcache Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkreply tst_QNetworkReply::getFromUnreachableIp - fix a failing test 2017-11-08 13:28:51 +00:00
qnetworkrequest Add qtest_network.h 2016-09-29 21:46:19 +00:00
spdy Updated license headers 2016-01-21 18:55:18 +00:00
access.pro Add HTTP strict tranport security support to QNAM 2017-01-20 08:41:50 +00:00