diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2025-08-08 15:30:11 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2025-08-08 16:46:38 +0800 |
commit | 1e96e77858d05301fbb3e08cb4c7efdba1a2acf2 (patch) | |
tree | eca6e6b6024110a3a67afa1e2f5c563621ee7a15 /tests/auto | |
parent | 1224a1c89f07b1a1f42cc67aa707e4c7c0c862e5 (diff) |
e7b90cfc31e9b651fd4895944f84d78aa637f120 changed the default to 1
second, which results in confusing failures where 1 second is not
enough... but it also was (QTBUG-139036). Many animations are 1 second
long, so bump the default timeout to 2 seconds.
Task-number: QTBUG-138662
Change-Id: I9b38e6cdbecda17cc2be65e93be4bdc7b8b0a529
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/quick/qquickanimations/tst_qquickanimations.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp index c6c844993a..ea64eb842d 100644 --- a/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp +++ b/tests/auto/quick/qquickanimations/tst_qquickanimations.cpp @@ -40,6 +40,8 @@ private slots: { QQmlEngine engine; // ensure types are registered QQmlDataTest::initTestCase(); + // 1 second is not quite enough, since many animations are 1 second long. + QTest::defaultTryTimeout.store(std::chrono::seconds(2)); } void simpleProperty(); |