From 5cb6260a36d2e98e72c828b7e2559fa3e7a35361 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Mon, 26 Aug 2013 16:22:24 +0200 Subject: [PATCH] QNetworkReply auto test: Skip tests failing due to Squid issues This test works with no Qt version (4 or 5) when testing with the Squid (HTTP proxy) version deployed on the new test server image. Task-number: QTBUG-33180 Change-Id: If244526a4baed9f3836dade007fe0f15649a8f86 Reviewed-by: Thiago Macieira --- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index ce8293edbc..5d81367620 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -4387,6 +4387,10 @@ void tst_QNetworkReply::ioPostToHttpFromSocket_data() void tst_QNetworkReply::ioPostToHttpFromSocket() { + if (QTest::currentDataTag() == QByteArray("128k+1+proxyauth") + || QTest::currentDataTag() == QByteArray("128k+1+auth+proxyauth")) + QSKIP("Squid cannot handle authentication with POST data >= 64K (QTBUG-33180)"); + QFETCH(QByteArray, data); QFETCH(QUrl, url); QFETCH(QNetworkProxy, proxy);