multithreaded JunitTest

Stephan Bergmann sbergman at redhat.com
Mon Jun 1 02:08:55 PDT 2015


On 05/30/2015 04:47 PM, Lionel Elie Mamane wrote:
> But the test as a whole still succeeds! The subthread failure is just
> ignored.
>
> I fixed the underlying bug, but I would like to fix the test so that
> it fails when one of the threads fails. I tried to not catch the
> Exception, but that does not help. (I noticed the thread failure by
> looking at workdir/JunitTest/dbaccess_complex/done.log )
>
> How do I fix this?

see 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=e9d055bf67d2ad600d2efa58a4c8b8bbcedf348c> 
"Do not lose AssertionError from sub-threads"



More information about the LibreOffice mailing list