forked from qt-creator/qt-creator
Squish: Remove platform limitation of snooze() call
This AUT crash now happens frequently on Linux as well. Change-Id: Iee44cc4f5ca45afc9e643a2745cabfbf3e6efcf4 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -63,8 +63,7 @@ def buildTreeFromOutline():
|
||||
global outline
|
||||
model = waitForObject(outline).model()
|
||||
waitFor("model.rowCount() > 0")
|
||||
if platform.system() == 'Darwin':
|
||||
snooze(1) # if model updates delayed processChildren() results in AUT crash
|
||||
snooze(1) # if model updates delayed processChildren() results in AUT crash
|
||||
return processChildren(model, QModelIndex(), 0)
|
||||
|
||||
def processChildren(model, startIndex, level):
|
||||
|
||||
Reference in New Issue
Block a user