vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 87c41bbf04c361746bf9c2373aa144a02d971303 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Fri May 24 06:21:30 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri May 24 08:44:29 2024 +0200 gtk3 a11y tests: Increase timeout for AT-SPI method calls As discussed in the ESC call of 2024-05-23, CppunitTest_vcl_gtk3_a11y fails relatively often recently: > 38 CppunitTest_vcl_gtk3_a11y gerrit_linux_clang_dbgutil > + this week: have a new problem with CppunitTest_vcl_gtk3_a11y (Cloph) > + failure is not new, but the frequency increased recently > + assume: timing issue Jenkins logs show that failures are due to running into timeouts, example from [1]: [...] found run attribute: CharTopBorder=<Any: (com.sun.star.table.BorderLine2) 0x6831c50> found run attribute: CharTopBorderComplexColor=<Any: (void)> found run attribute: MMToPixelRatio=<Any: (float) 1.25> matching atspi attribute is: mm-to-pixel-ratio=1.25 unknown:0:Test1::TestBody An uncaught exception of type com.sun.star.uno.RuntimeException - timeout from dbind at /home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/vcl/qa/cppunit/a11y/atspi2/atspiwrapper.hxx:302 Increase the timeout for method calls from 2.5 to 10 seconds in the hope that will help. (Issue is not reproducible locally for me.) [1] https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/162811/consoleFull Change-Id: Ib0eef753cf9f574ee5b2a013a46a0a600c91eb34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168002 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx b/vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx index bcde764aa981..a0ac926c719d 100644 --- a/vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx +++ b/vcl/qa/cppunit/a11y/atspi2/atspi2testbase.hxx @@ -80,8 +80,8 @@ public: if (!atspi_is_initialized()) atspi_init(); - // increase timeout to avoid spurious avoid CI failures - atspi_set_timeout(2500, 15000); + // increase timeout to avoid spurious CI failures + atspi_set_timeout(10000, 15000); } virtual void setUp() override