tst_TaskTree: Increase the timeout

Change-Id: I8306aeb3719feb295a27339736209159f688a734
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-12-01 15:50:03 +01:00
parent ad90dd958a
commit 8d6d51ec3e

View File

@@ -487,7 +487,7 @@ void tst_TaskTree::processTree()
timedOut = true; timedOut = true;
eventLoop.quit(); eventLoop.quit();
}); });
timer.setInterval(1000); timer.setInterval(2000);
timer.setSingleShot(true); timer.setSingleShot(true);
timer.start(); timer.start();
eventLoop.exec(); eventLoop.exec();
@@ -624,7 +624,7 @@ void tst_TaskTree::storage()
QTimer timer; QTimer timer;
connect(&timer, &QTimer::timeout, &eventLoop, &QEventLoop::quit); connect(&timer, &QTimer::timeout, &eventLoop, &QEventLoop::quit);
timer.setInterval(1000); timer.setInterval(2000);
timer.setSingleShot(true); timer.setSingleShot(true);
timer.start(); timer.start();
eventLoop.exec(); eventLoop.exec();