summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkreply
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-03-31 09:56:59 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-03-31 10:01:47 (GMT)
commit8616c85eaa69fac5b15aa9a3d416f9c8b0098c17 (patch)
treed826065d8e5824c46607905b96a28b1fa032b848 /tests/auto/qnetworkreply
parentd43455eaa9106c63885fe04c39a7b2c7249f406f (diff)
downloadQt-8616c85eaa69fac5b15aa9a3d416f9c8b0098c17.zip
Qt-8616c85eaa69fac5b15aa9a3d416f9c8b0098c17.tar.gz
Qt-8616c85eaa69fac5b15aa9a3d416f9c8b0098c17.tar.bz2
QSslSocket: fix setReadBufferSize
This fix the qnetworkreply::ioPostToHttpsUploadProgress() auto test. Before the readbuffer where always limited to 1k for ssl sockets. Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/qnetworkreply')
-rw-r--r--tests/auto/qnetworkreply/tst_qnetworkreply.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
index 650526e..d8b6dc4 100644
--- a/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/auto/qnetworkreply/tst_qnetworkreply.cpp
@@ -4162,14 +4162,8 @@ void tst_QNetworkReply::ioPostToHttpsUploadProgress()
// some progress should have been made
QVERIFY(!spy.isEmpty());
QList<QVariant> args = spy.last();
- qDebug() << "tst_QNetworkReply::ioPostToHttpsUploadProgress"
- << args.at(0).toLongLong()
- << sourceFile.size()
- << spy.size();
QVERIFY(args.at(0).toLongLong() > 0);
- // FIXME this is where it messes up
- QEXPECT_FAIL("", "Either the readBufferSize of QSslSocket is broken or we do upload too much. Hm.", Abort);
QVERIFY(args.at(0).toLongLong() != sourceFile.size());
incomingSocket->setReadBufferSize(32*1024);