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 <thiago.macieira@intel.com>
This commit is contained in:
Peter Hartmann 2013-08-26 16:22:24 +02:00 committed by The Qt Project
parent be72ea7e35
commit 5cb6260a36

View File

@ -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);