[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - sw/qa

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 8 15:09:23 UTC 2020


 sw/qa/extras/uiwriter/uiwriter3.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 30f59fd86a5e31bee69d837da284b95aad418148
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 2 20:42:26 2020 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Sep 8 17:08:41 2020 +0200

    blind fix for testTdf130685 intermittent failure
    
    Change-Id: If6f330ebbe63a5438769fda771d68afb1dcadf2c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101977
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit 37ee5d5a41c99cddae0652d839539df91f28f35d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101963
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/sw/qa/extras/uiwriter/uiwriter3.cxx b/sw/qa/extras/uiwriter/uiwriter3.cxx
index 342c44146936..34db982e195b 100644
--- a/sw/qa/extras/uiwriter/uiwriter3.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter3.cxx
@@ -446,13 +446,16 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf130685)
     // Without fix in place, this test would have failed with:
     //- Expected: 2
     //- Actual  : 4
+    Scheduler::ProcessEventsToIdle();
     CPPUNIT_ASSERT_EQUAL(2, getPages());
 
     dispatchCommand(mxComponent, ".uno:Undo", {});
     dispatchCommand(mxComponent, ".uno:Undo", {});
+    Scheduler::ProcessEventsToIdle();
     CPPUNIT_ASSERT_EQUAL(1, getPages());
 
     dispatchCommand(mxComponent, ".uno:Undo", {});
+    Scheduler::ProcessEventsToIdle();
     CPPUNIT_ASSERT_EQUAL(2, getPages());
 }
 


More information about the Libreoffice-commits mailing list