diff options
| author | dufresnedavid <david.dufresne@savoirfairelinux.com> | 2015-09-01 17:10:33 -0400 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-09-17 12:23:09 +0200 |
| commit | cc9113f818ad62c4bfc5ede90a1b055c8bb9414e (patch) | |
| tree | 705180b477d87773cae071e9f960367303aa91b6 /addons/web_editor/static/src/js/transcoder.js | |
| parent | acf22b7bc84164df99046120287ad1f7f5d01783 (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/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
