uitest/uitest/test.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit fadf31b32566bc5e7b729de3e112addb93585be8
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Sun Jul 23 06:41:34 2017 +0200

    uitest: wait twice as long for blocking actions
    
    Change-Id: Ib54a12e9bce3f0be9b31c57550d01754323832c6

diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py
index 122df519da4d..485fe5e4756f 100644
--- a/uitest/uitest/test.py
+++ b/uitest/uitest/test.py
@@ -198,7 +198,8 @@ class UITest(object):
         with EventListener(self._xContext, ["DialogExecute", 
"ModelessDialogExecute"]) as event:
             thread.start()
             time_ = 0
-            while time_ < MAX_WAIT:
+            # wait twice as long as we are potentially executing a second 
action
+            while time_ < 2*MAX_WAIT:
                 if event.executed:
                     xDlg = self._xUITest.getTopFocusWindow()
                     if dialog_element:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to