summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-03-01 14:51:48 +0100
committerThibault Delavallée <tde@odoo.com>2018-03-09 12:53:49 +0100
commit19849785f52f75b1edb9b848bbe10bf0c99d40a7 (patch)
tree963c32077f469534cf2017186c75a7dd16e12c9a /addons/web/static/src/js/views/basic
parentd8e2f6a89d3fb097e8233ad2c9beff6ebd3bc9c3 (diff)
[IMP] test_mail: add unit and performance tests about adding followers
This commit is a manual forward- port of saas-11.2's a01933c9b4dc6ff4e1a0b73822df9097025c0e1c . Purpose of this commit is to test existing behavior of followers subscription as well as adding some query count tests about message_subscribe method. As followers subscription technical implementation may change in a near future in order to be optimized it is a good idea to have current behavior and query count validated. This commit adds * test for followers update using message_subscribe API. Tests are added with forced and unforced subtypes to ensure behavior will not change or will be changed while knowing it; * performance test about message_subscribe, about adding new followers, and subscribing already-existing followers in force mode or not; Query count performance test shows that message_subscribe could probably be improved. It does several things that require queries (check of access rights, check for existing subscriptions, ensure customers have no access to internal subtypes, ...). However we feel it could be improved in order to speed-up the subscription of followers. This is linked to task 49265; it is only the first steps of it.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions