[FIX] test_mail: bump expected query count
e88c5c1ece uses `sudo()` to get user name,
which lead to more queries due to cache miss.
This commit is contained in:
@@ -524,7 +524,7 @@ class TestHeavyMailPerformance(TransactionCase):
|
||||
})
|
||||
self.assertEqual(rec.message_partner_ids, self.user_portal.partner_id | self.env.user.partner_id)
|
||||
|
||||
with self.assertQueryCount(admin=149, emp=172): # test_mail only: 144 - 167
|
||||
with self.assertQueryCount(admin=149, emp=175): # test_mail only: 144 - 171
|
||||
rec.write({
|
||||
'name': 'Test2',
|
||||
'umbrella_id': self.umbrella.id,
|
||||
|
||||
Reference in New Issue
Block a user