diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index a26d2c809b0..045e0713bd2 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -10300,6 +10300,9 @@ void tst_QNetworkReply::contentEncoding() #if QT_CONFIG(http) void tst_QNetworkReply::contentEncodingBigPayload_data() { +#if Q_PROCESSOR_WORDSIZE <= 4 + QSKIP("Allocating 4GB leads to std::bad_alloc on a 32b architecture"); +#endif QTest::addColumn("encoding"); QTest::addColumn("path"); QTest::addColumn("expectedSize");