[FIX] test_mail: bump query count
For unknown reason (I didn't manage to find the culprit), the previous forward-port generate more queries than before.
This commit is contained in:
@@ -751,7 +751,7 @@ class TestMailPerformancePost(TransactionCase):
|
||||
]
|
||||
self.attachements = self.env['ir.attachment'].sudo(self.env.user).create(self.vals) #-> 163-> 165 query
|
||||
attachement_ids = self.attachements.ids
|
||||
with self.assertQueryCount(emp=163): # com runbot 156 // test_mail only: 133
|
||||
with self.assertQueryCount(emp=175): # com runbot 156 // test_mail only: 133
|
||||
self.cr.sql_log = self.warm and self.cr.sql_log_count
|
||||
record.with_context({}).message_post(
|
||||
body='<p>Test body <img src="cid:cid1"> <img src="cid:cid2"></p>',
|
||||
|
||||
Reference in New Issue
Block a user