summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-08-20 16:40:10 +0200
committerXavierDo <xdo@odoo.com>2018-08-21 16:56:54 +0200
commit2831fa7926a7f10285f48b1565650326cd7c99f7 (patch)
tree0ae810e4fd40c89b170b28144e1d0c0606ec2d7a /addons/mail/static/src/xml/thread.xml
parent0b72446340a38caf71702e64460bc965e5c4b062 (diff)
[IMP] core, test_mail: improve query count assertions
-remove margin With the spirit of making tests determinists, we can remove margins to have a real test of query count. -mock random on assert query count bus gc is triggered using random. Therefore, when send_many is called, we have 1% chance to have more query. Mocking random.random to 1 will disable gc during query count tests (not during warmup). Could be interresting to put gc collection in a cron latter -add more info on querycount Adding file and line number on query count failure/info will help to update the query counts. -update query count based on enterprise Update all query count with enterprise values (exactly) -normalize query counts with enterprise voip module add a read on activity type (during create) in enterprise, leading to one more query but also more information in cache. Therefore, the next assertion will need one more query to access this data in community. Adding an access to activity type in the first assertion will allow to have the same cache state in community and enterprise. Task: #1878588 PR: #26476
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions