diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-03-24 17:47:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-24 18:40:02 +0100 |
commit | 87f262dadbbdc1808c5e617003d125ee8df0c501 (patch) | |
tree | d7abb243bc4e8e5bf75a446738dc06578041492a /uitest | |
parent | f920e86fbf3968104e1dfc0e9934e80652ed0837 (diff) |
Extend timeout for .uno:AutoCorrectDlg UITests
...which often timed out for the ASan+UBSan Jenkins build, so lets hope that it
was just an issue with a too short timeout there
Change-Id: Ie50eb1cc16e9444d1392c95ef5c6d810b9e4bd17
Reviewed-on: https://gerrit.libreoffice.org/69599
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/uitest/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py index 0855a9d4efc5..72b2a810c380 100644 --- a/uitest/uitest/test.py +++ b/uitest/uitest/test.py @@ -68,12 +68,12 @@ class UITest(object): time_ += DEFAULT_SLEEP time.sleep(DEFAULT_SLEEP) - def execute_dialog_through_command(self, command, printNames=False): + def execute_dialog_through_command(self, command, printNames=False, maxWait=MAX_WAIT): with EventListener(self._xContext, "DialogExecute", printNames=printNames) as event: if not self._xUITest.executeDialog(command): raise DialogNotExecutedException(command) time_ = 0 - while time_ < MAX_WAIT: + while time_ < maxWait: if event.executed: time.sleep(DEFAULT_SLEEP) return |