Skip to content
Snippets Groups Projects
Commit 40b2bf96 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] test_mass_mailing: bump query counts

Now that urls are shortened by email (and not globally)[1], more queries
are executed.

Oversight of previous forward-port

[1] See #29083
parent bdfef60d
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class TestMassMailPerformance(TestMassMailPerformanceBase):
'mailing_domain': [('id', 'in', self.mm_recs.ids)],
})
with self.assertQueryCount(__system__=2432, marketing=3088):
with self.assertQueryCount(__system__=2480, marketing=3136):
mailing.send_mail()
self.assertEqual(mailing.sent, 50)
......@@ -86,7 +86,7 @@ class TestMassMailBlPerformance(TestMassMailPerformanceBase):
'mailing_domain': [('id', 'in', self.mm_recs.ids)],
})
with self.assertQueryCount(__system__=2807, marketing=3559):
with self.assertQueryCount(__system__=2867, marketing=3619):
mailing.send_mail()
self.assertEqual(mailing.sent, 50)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment