tst_qnetworkreply: unblacklist putWithServerClosingConnectionImmediately
Looking at grafana it rarely fails in dev so unblacklisting it. Though it is a little more flaky after switching to http 2 by default because then we only have one channel and more requests end up queued in the same channel, which will get errored out when the server disconnects. Task-number: QTBUG-88943 Change-Id: If5d6335864ce6bbc35f519b2c6d7068e4181afd2 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
a443cbe7cd
commit
4be6663cf2
@ -16,10 +16,6 @@ ubuntu
|
||||
windows-10
|
||||
[putToFtp]
|
||||
windows-10
|
||||
[putWithServerClosingConnectionImmediately]
|
||||
windows-7sp1
|
||||
windows-10
|
||||
osx
|
||||
[backgroundRequest]
|
||||
macos
|
||||
[connectToIPv6Address]
|
||||
|
@ -9077,6 +9077,9 @@ void tst_QNetworkReply::putWithServerClosingConnectionImmediately()
|
||||
for (int i = 0; i < numUploads; i++) {
|
||||
// create the request
|
||||
QNetworkRequest request(QUrl(urlPrefix + QString::number(i)));
|
||||
// Disable http2 so we get the 6 simultaneous channels as when
|
||||
// the test was originally written
|
||||
request.setAttribute(QNetworkRequest::Http2AllowedAttribute, false);
|
||||
QNetworkReply *reply = manager.put(request, sourceFile);
|
||||
connect(reply, SIGNAL(sslErrors(QList<QSslError>)), reply, SLOT(ignoreSslErrors()));
|
||||
connect(reply, SIGNAL(finished()), &server, SLOT(replyFinished()));
|
||||
|
Loading…
Reference in New Issue
Block a user