Re: Sporadically failing CppunitTest_sc_vba_macro_test

2023-05-11 Thread Stephan Bergmann
On 5/11/23 09:58, Noel Grandin wrote: I would suspect that putting a    Scheduler::ProcessEventsToIdle into UnoApiTest::executeMacrowould be a good idea. Some diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx index e8198876537a..03d013b07762 100644 --- a/test/source/un

Re: Sporadically failing CppunitTest_sc_vba_macro_test

2023-05-11 Thread Noel Grandin
On Thu, 11 May 2023 at 09:54, Stephan Bergmann wrote: > Is it plausible that those macro executions trigger asynchronous > operations that might only actually update the values (observed via > rDoc.GetValue) some time after the executeMacro call has already returned? > > Given the way our UI work

Sporadically failing CppunitTest_sc_vba_macro_test

2023-05-11 Thread Stephan Bergmann
At least on (somewhat slow) , and also with my local (equally somewhat slow) ASan+UBSan build, I see CppunitTest_sc_vba_macro_test occasionally fail with what looks like timing issues: * and