diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-03-25 11:22:02 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-03-25 11:22:02 +0000 |
| commit | d1282408d4f021fb109e8fad2c0fee3996fa5bfd (patch) | |
| tree | 9f6c3ce389fa31db118543becb89619b1c5d601a /addons/test_mail | |
| parent | 36316c5af2a3fc0c3e189320662ef7d47508d440 (diff) | |
[FIX] test_mail: adapt query count
A commit merged very recently added 1 more base query to both users, but because
the count of that particular test is non deterministic, the issue is only
spotted later on runbot, and it has to be fixed now.
closes odoo/odoo#48331
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/test_mail')
| -rw-r--r-- | addons/test_mail/tests/test_performance.py | 4 |
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 85b1f24980f..c79ae4abf65 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 FIXME non deterministic, last check 25 feb 2020. Runbot at most +7 compared to local. - with self.assertQueryCount(__system__=27, emp=28): + # TODO FIXME non deterministic, last check 25 Mar 2020. Runbot at most +7 compared to local. + with self.assertQueryCount(__system__=28, emp=29): composer = self.env['mail.compose.message'].with_context({ 'default_composition_mode': 'comment', 'default_model': test_record._name, |
