tst_qquickanimations: bump defaultTryTimeout to 2 seconds
e7b90cfc31
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>
This commit is contained in:
parent
1224a1c89f
commit
1e96e77858
|
@ -40,6 +40,8 @@ private slots:
|
||||||
{
|
{
|
||||||
QQmlEngine engine; // ensure types are registered
|
QQmlEngine engine; // ensure types are registered
|
||||||
QQmlDataTest::initTestCase();
|
QQmlDataTest::initTestCase();
|
||||||
|
// 1 second is not quite enough, since many animations are 1 second long.
|
||||||
|
QTest::defaultTryTimeout.store(std::chrono::seconds(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void simpleProperty();
|
void simpleProperty();
|
||||||
|
|
Loading…
Reference in New Issue