summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authordufresnedavid <david.dufresne@savoirfairelinux.com>2015-09-01 17:10:33 -0400
committerXavier Morel <xmo@odoo.com>2015-09-17 12:23:09 +0200
commitcc9113f818ad62c4bfc5ede90a1b055c8bb9414e (patch)
tree705180b477d87773cae071e9f960367303aa91b6 /addons/analytic_user_function
parentacf22b7bc84164df99046120287ad1f7f5d01783 (diff)
[IMP] Prevent unclosed cursor during tests
If an error happens in an overload of setUp, the already-open cursor is likely not to get properly released before the next test, deadlocking the db, because tearDown only runs if setUp has succesfully completed. Cleanups were added specifically to run every time, after tearDown has (potentially) been executed. closes #8327 Note: cleanups run in LIFO order (as they should).
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions