diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-09 19:04:59 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-09 19:04:59 +0200 |
| commit | 61df7749ccf8b6a1c9eb6328aaee6323f0c4dbb6 (patch) | |
| tree | 7caca95d4f2ee5a65e4bf8ea7d30b22d30e84fd5 /addons/test_mail/tests/test_performance.py | |
| parent | cba5f7a98f3644694eadc51c76ba080724879b28 (diff) | |
[FIX] test_mail: bump expected query count
e88c5c1ece1e1e9474ee39a0a7a1e4acfea63916 uses `sudo()` to get user name,
which lead to more queries due to cache miss.
Diffstat (limited to 'addons/test_mail/tests/test_performance.py')
| -rw-r--r-- | addons/test_mail/tests/test_performance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/test_mail/tests/test_performance.py b/addons/test_mail/tests/test_performance.py index 8f298cc7db0..482dcea57c4 100644 --- a/addons/test_mail/tests/test_performance.py +++ b/addons/test_mail/tests/test_performance.py @@ -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, |
