qt6-bb10/tests/auto/network/access
Mårten Nordheim 8de1ed8979 tst_QNetworkReply: update and speed up httpConnectionCount
Because we will do a small wait after the final connection (to see
if there are any unexpected extra connections) we can save some time
by reducing _how long_ we wait for it.
In general we only need an extra long wait for the first connection,
subsequent connections are faster.
So we change the loop structure from looping until we hit 20(!)
connections, when anything larger than 6 will fail the test anyway!
And use qWaitFor instead of repeatedly calling enterLoop and checking
the state of an ElapsedTimer, the total wait time is not super
interesting, and made it a guarantee that the test would take 10
seconds.

While we are here, update the attribute we use to test HTTP/2
connections. We were previously enabling http/2, but this is the new
default so it's not needed. We do, however, need to enable h2c if we
want to see it trying to upgrade to http/2 over cleartext.

Not a big issue, so we don't pick it very far back.

Pick-to: 6.7
Change-Id: Ia314ae2827ab8a8baaa4af2c5136c5e531bcb1f8
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2024-03-12 14:23:57 +01:00
..
hpack Change license for tests files 2024-02-04 09:56:42 +01:00
hsts Change license for tests files 2024-02-04 09:56:42 +01:00
http2 Handle informational HTTP replies (1xx) for HTTP/2 2024-03-01 23:57:13 +01:00
qabstractnetworkcache Change license for tests files 2024-02-04 09:56:42 +01:00
qdecompresshelper Change license for tests files 2024-02-04 09:56:42 +01:00
qhttp2connection Implement ping reply in QHttp2Connection and add test 2024-03-04 20:14:36 +01:00
qhttpheaderparser Change license for tests files 2024-02-04 09:56:42 +01:00
qhttpheaders Add a QHttpHeaders convenience method for unique header name setting 2024-03-07 23:38:09 +02:00
qhttpnetworkconnection Change license for tests files 2024-02-04 09:56:42 +01:00
qhttpnetworkreply Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkaccessmanager Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcachemetadata Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcookie Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkcookiejar Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkdiskcache Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkreply tst_QNetworkReply: update and speed up httpConnectionCount 2024-03-12 14:23:57 +01:00
qnetworkrequest Change license for tests files 2024-02-04 09:56:42 +01:00
qnetworkrequestfactory Add QNetworkRequest attribute support to QNetworkRequestFactory 2024-02-28 08:13:55 +02:00
qrestaccessmanager Remove HTTP 1XX status test from tst_qrestaccessmanager 2024-02-06 19:10:45 +02:00
CMakeLists.txt Privately introduce QHttp2Connection 2024-01-17 16:05:25 +01:00