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.

Pick-to: 6.4 6.3 6.2
Task-number: QTQAINFRA-4748
Change-Id: Ifce92533d50f4c463ee10fe80e7654ad16172a35
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Assam Boudjelthia 2022-08-18 00:10:17 +03:00
parent 7c917a6dbf
commit cf4f147c23

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;