forked from qt-creator/qt-creator
tst_TaskTree: Increase the timeout
Change-Id: I8306aeb3719feb295a27339736209159f688a734 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user