aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlmin
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2020-05-26 09:19:12 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2020-05-26 11:35:46 +0200
commitf77a9830c8eda7728de49a101be66fc171d3ff8d (patch)
tree032fe9de23a96b545b7ba929941b4b6d73791a42 /tests/auto/qml/qmlmin
parentcf82561a75ebef9d20bed21dfc3f050611a08e7f (diff)
Increase the timeout for tst_qmlmin
This test has been flaky during CI runs (on macOS) because sometimes it takes more time to execute than the default 5 minutes limit. Probably not the ideal fix, but since this will be deprecated for Qt 6 there is no point in investing too much time into fixing it. Task-number: QTBUG-84339 Change-Id: Iab53a05a68c32a1fae56cafdeeb6aa74900ac9fc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlmin')
-rw-r--r--tests/auto/qml/qmlmin/tst_qmlmin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlmin/tst_qmlmin.cpp b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
index 0501a8112a..24e926ffb3 100644
--- a/tests/auto/qml/qmlmin/tst_qmlmin.cpp
+++ b/tests/auto/qml/qmlmin/tst_qmlmin.cpp
@@ -60,6 +60,9 @@ private:
tst_qmlmin::tst_qmlmin()
{
+ // this test can be slow, double the timeout from the default 5 minutes to 10 minutes
+ const int timeout = 10*60*1000; // 10 minutes
+ qputenv("QTEST_FUNCTION_TIMEOUT", QByteArray::number(timeout));
}
void tst_qmlmin::initTestCase()