From d2614337e8291b9b6d114fda5ae914f6940c353a Mon Sep 17 00:00:00 2001 From: László Németh Date: Mon, 2 Jan 2023 18:57:48 +0100 Subject: tdf#65535 sw spellDialog.py: add same latency to fix lo-upsan build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The problem reported by Stephan Bergmann: FAIL: test_tdf65535 (spellDialog.SpellingAndGrammarDialog) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tdf/lode/jenkins/workspace/lo_ubsan/sw/qa/uitest/writer_tests4/spellDialog.py", line 237, in test_tdf65535 self.assertEqual("Bad baad", output_text) AssertionError: 'Bad baad' != 'Baad baad' - Bad baad + Baad baad ? + Change-Id: Icd656544946f3d6b67fefd9980872bbee6608fab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144964 Tested-by: Jenkins Reviewed-by: László Németh --- sw/qa/uitest/writer_tests4/spellDialog.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw/qa/uitest') diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py index d7990cdf494e..9fd9d16cee74 100644 --- a/sw/qa/uitest/writer_tests4/spellDialog.py +++ b/sw/qa/uitest/writer_tests4/spellDialog.py @@ -233,6 +233,10 @@ frog, dogg, catt""" change = xDialog.getChild('change') change.executeAction("CLICK", ()) + # fix UPSAN build + import time + time.sleep(0.2) + output_text = document.Text.getString() self.assertEqual("Bad baad", output_text) -- cgit