if installing a business template fails, reraise the error and keep a flag not
to try installing it again for other tests. real error traceback was sometimes lost in the first "finally:" block. For instance, testAccounting_l10n_fr_m9 was failing due to a max_allowed_packet problem, but the error message was from ZODB Connection, because get_transaction().commit() raised a second exception hidding the first one. This means that if a site cannot be installed, the first test will be a failure with the real traceback and all other tests will only get an "Installation of this site already failed, giving up" error. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9896 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment