summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2022-08-18 00:10:17 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-18 14:23:26 +0000
commita660f974786e9d1ae170c7a427d2038bde7e4ab7 (patch)
treed3f47e6fc5950c628c0c5605009bfeb8632f062e /tests/auto
parent5b08cc0f2ad95869a6a482671dd2ed9b1a69621e (diff)
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>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp b/tests/auto/corelib/text/qbytearray/tst_qbytearray.cpp
index 823dd679e5..71e0ade636 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;