From a660f974786e9d1ae170c7a427d2038bde7e4ab7 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Thu, 18 Aug 2022 00:10:17 +0300 Subject: [PATCH] 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 (cherry picked from commit cf4f147c23aad772a523b79390b1b5e86037a294) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp index 823dd679e5d..71e0ade6369 100644 --- a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp +++ b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp @@ -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;