tst_QNetworkReply: Remove and suppress one debug message
There's not much context to the URLs being printed, so remove the message. And suppress the message coming from the MiniHttpServer Change-Id: Ie2025ac717657ed0f2f0163bd0af22e12a49b30f Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
4757b93b0e
commit
9258c50936
@ -7971,7 +7971,10 @@ void tst_QNetworkReply::closeClientSideConnectionEagerlyQtbug20726()
|
||||
QNetworkRequest request(url);
|
||||
request.setAttribute(QNetworkRequest::ConnectionCacheExpiryTimeoutSecondsAttribute, 0);
|
||||
QNetworkReplyPtr reply(manager.get(request));
|
||||
qDebug() << reply->request().url() << replyNotEager->request().url();
|
||||
// The server just uses a normal TCP socket and prints out this error when the client disconnects:
|
||||
QTest::ignoreMessage(QtDebugMsg,
|
||||
"slotError QAbstractSocket::RemoteHostClosedError "
|
||||
"\"The remote host closed the connection\"");
|
||||
QCOMPARE(waitForFinish(reply), Success);
|
||||
QCOMPARE(reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(), 200);
|
||||
// Socket from server to QNAM still connected?
|
||||
|
Loading…
Reference in New Issue
Block a user