From 70eeb2ece9599e18928093cb8c9f659a2ce9c806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Theys?= Date: Fri, 6 Mar 2020 10:26:29 +0000 Subject: [PATCH] [IMP] test_mail: adapt query count Part of task-2180311 PR: #43841 --- addons/test_mail/tests/test_performance.py | 4 ++-- 1 file 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,