Android: tst_QByteArray::base64_2GiB() times out or gets terminated

Android kills this test case which tries to use too much memory,
or it times out.

Task-number: QTQAINFRA-4748
Change-Id: Ifce92533d50f4c463ee10fe80e7654ad16172a35
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit cf4f147c23aad772a523b79390b1b5e86037a294)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Assam Boudjelthia 2022-08-18 00:10:17 +03:00 committed by Qt Cherry-pick Bot
parent 5b08cc0f2a
commit a660f97478

View File

@ -581,6 +581,9 @@ void tst_QByteArray::base64()
void tst_QByteArray::base64_2GiB()
{
#ifdef Q_OS_ANDROID
QSKIP("Android kills the test when using too much memory");
#endif
if constexpr (sizeof(qsizetype) > sizeof(int)) {
try {
constexpr qint64 GiB = 1024 * 1024 * 1024;