diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-10-20 17:26:30 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-10-20 17:38:53 +0200 |
| commit | a43b220b33b007fa2c007007e29843c1f3db9030 (patch) | |
| tree | 9fb77211ea5b2b4e0209dcaee933403e090e8936 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 108decbd99451a771428baa336e981aff5f8a797 (diff) | |
[FIX] make AccountingTestCase extend HttpCase
Fixes/hides a deadlock when running test_sale_order with either a single
database or a db_filter making a single database visible: the test
causes a report to be printed, which invokes wkhtmltopdf, which tries to
fetch assets using the registry which is being loaded. The asset request
thus waits on a lock which is held by the test which waits on the asset,
deadlocking the whole thing.
Using HttpCase means we're using the test_cr or something and bypassing
the deadlock, instead the asset requests just 404 as they do when using
the nodb routing.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
