diff options
| author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2024-03-05 12:54:37 +0100 |
|---|---|---|
| committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2024-03-05 18:16:01 +0000 |
| commit | 75b6be77889227e7a5f5ad883557a0d54c394bc5 (patch) | |
| tree | 050a2fa7efc0a1ec1453199f95003b2dd8f8ee14 | |
| parent | 4e5d1e864b4addd400e13a05d516a9a23481bab1 (diff) | |
Increase the timeout for tst_qmlmin
This test runs slow with MinGW builds. It can take more than 10 minutes
to run it.
Not the ideal fix, but since this is deprecated for Qt 6 there is
no point in investing too much time into fixing it.
Task-number: QTBUG-84339
Change-Id: I22e9a865ef7d2dafad482028b698b50c8370b1b1
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
| -rw-r--r-- | tests/auto/qml/qmlmin/tst_qmlmin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/qmlmin/tst_qmlmin.cpp b/tests/auto/qml/qmlmin/tst_qmlmin.cpp index cc028d979f..98daefa6eb 100644 --- a/tests/auto/qml/qmlmin/tst_qmlmin.cpp +++ b/tests/auto/qml/qmlmin/tst_qmlmin.cpp @@ -60,8 +60,8 @@ 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 + // this test can be slow, double the timeout from the default 5 minutes to 20 minutes + const int timeout = 20*60*1000; // 20 minutes qputenv("QTEST_FUNCTION_TIMEOUT", QByteArray::number(timeout)); } |
