diff options
| author | Thibault Delavallée <tde@odoo.com> | 2021-05-06 13:36:52 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2021-05-06 15:29:12 +0000 |
| commit | 879647265bf804e63bd8e89ec3ca58b51ffb29ea (patch) | |
| tree | 122153229813850a0d250121dd2ea6ae47d058e2 /addons/test_mass_mailing | |
| parent | 6ee1484adcfee52116ca5f7889a376fd47fc6486 (diff) | |
[IMP] various: update query counters according to latest runbot run
Base: seems related fields take only 1 extra query instead of 3
Crm: assignment seems to have been slightly improved. Some randomness still
happens.
Hr Holidays: seems it was further improved beyond space frontier
Test mail: those tests were a bit random, seems random is gone (hopefully)
Test mail full: updated local counters
Test mass mailing: seems we gained one query, updated local counters
closes odoo/odoo#70486
Related: odoo/enterprise#18180
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/test_mass_mailing')
| -rw-r--r-- | addons/test_mass_mailing/tests/test_performance.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/test_mass_mailing/tests/test_performance.py b/addons/test_mass_mailing/tests/test_performance.py index 5ae91d52aa6..9f9e26776d0 100644 --- a/addons/test_mass_mailing/tests/test_performance.py +++ b/addons/test_mass_mailing/tests/test_performance.py @@ -50,8 +50,8 @@ class TestMassMailPerformance(TestMassMailPerformanceBase): 'mailing_domain': [('id', 'in', self.mm_recs.ids)], }) - # runbot needs +50 compared to local - with self.assertQueryCount(__system__=1714, marketing=1715): + # runbot needs +51 compared to local + with self.assertQueryCount(__system__=1714, marketing=1715): # test_mass_mailing_only: 1663 - 1664 mailing.action_send_mail() self.assertEqual(mailing.sent, 50) @@ -90,8 +90,8 @@ class TestMassMailBlPerformance(TestMassMailPerformanceBase): 'mailing_domain': [('id', 'in', self.mm_recs.ids)], }) - # runbot needs +62 compared to local - with self.assertQueryCount(__system__=1993, marketing=1994): + # runbot needs +70 compared to local + with self.assertQueryCount(__system__=1992, marketing=1993): # test_mass_mailing only: 1929 - 1930 mailing.action_send_mail() self.assertEqual(mailing.sent, 50) |
