summaryrefslogtreecommitdiff
path: root/addons/test_mass_mailing/tests/test_performance.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/test_mass_mailing/tests/test_performance.py')
-rw-r--r--addons/test_mass_mailing/tests/test_performance.py8
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)