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:
parent
7c917a6dbf
commit
cf4f147c23
@ -581,6 +581,9 @@ void tst_QByteArray::base64()
|
|||||||
|
|
||||||
void tst_QByteArray::base64_2GiB()
|
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)) {
|
if constexpr (sizeof(qsizetype) > sizeof(int)) {
|
||||||
try {
|
try {
|
||||||
constexpr qint64 GiB = 1024 * 1024 * 1024;
|
constexpr qint64 GiB = 1024 * 1024 * 1024;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user