summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-03-06 10:26:29 +0000
committerSébastien Theys <seb@odoo.com>2020-03-06 16:15:42 +0000
commit70eeb2ece9599e18928093cb8c9f659a2ce9c806 (patch)
treef58d3bb2c582ebb18388dc085e4457f49b5ad112 /addons/test_mail/tests
parent60dc58cdf4323c2f4d6934d7be7bdbdacdabbe9c (diff)
[IMP] test_mail: adapt query count
Part of task-2180311 PR: #43841
Diffstat (limited to 'addons/test_mail/tests')
-rw-r--r--addons/test_mail/tests/test_performance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py
index fcba93efe62..988543257c6 100644
--- a/addons/test_mail/tests/test_performance.py
+++ b/addons/test_mail/tests/test_performance.py
@@ -276,8 +276,8 @@ class TestMailAPIPerformance(BaseMailPerformance):
def test_mail_composer_w_template(self):
test_record = self.env['mail.test.full'].browse(self.test_record_full.id)
test_template = self.env['mail.template'].browse(self.test_template_full.id)
- # TODO XDO/TDE/MAT FIXME non deterministic between 25 and 29 queries
- with self.assertQueryCount(__system__=28, emp=29):
+ # TODO FIXME non deterministic, last check 25 feb 2020. Runbot at most +7 compared to local.
+ with self.assertQueryCount(__system__=27, emp=28):
composer = self.env['mail.compose.message'].with_context({
'default_composition_mode': 'comment',
'default_model': test_record._name,