uitest: work around race condition when starting multiple soffice instances

Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
This commit is contained in:
Markus Mohrhard 2016-12-19 20:29:11 +01:00
parent 75103ef014
commit 5a92b4f98e

View File

@ -102,6 +102,9 @@ class UITest(object):
time_ = 0
while time_ < 30:
if event.executed:
frames = self.get_frames()
self.get_desktop().setActiveFrame(frames[0])
print(len(frames))
return
time_ += DEFAULT_SLEEP
time.sleep(DEFAULT_SLEEP)