forked from qt-creator/qt-creator
Clang: Increase timeout in test
Might fix a fail on loaded test machines. Change-Id: Ieb9e8426f760e2257ececa0b53c564d68992c3fa Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -219,7 +219,7 @@ WaitForAsyncCompletions::WaitResult WaitForAsyncCompletions::wait(
|
|||||||
// There are not any, so wait for async results.
|
// There are not any, so wait for async results.
|
||||||
QElapsedTimer timer; timer.start();
|
QElapsedTimer timer; timer.start();
|
||||||
while (!gotResults) {
|
while (!gotResults) {
|
||||||
if (timer.elapsed() >= 5 * 1000)
|
if (timer.elapsed() >= 30 * 1000)
|
||||||
return Timeout;
|
return Timeout;
|
||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user