[FIX] website_blog: remove problematic test without cache
Since [this commit], the `test_10_perf_sql_blog_standard_data` test failed randomly. As testing sql perf for website without cache doesn't really make sense (as explained in [this other commit]) we can can just remove the test without cache. [this commit]: https://github.com/odoo/odoo/commit/88b016fdc407e318c43c96df9b582853512f04fa [this other commit]: https://github.com/odoo/odoo/commit/dad8dca0da23143eb2f28debde5139e907368a2e runbot-55755 closes odoo/odoo#162036 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
@@ -46,7 +46,6 @@ class TestBlogPerformance(UtilPerf):
|
||||
|
||||
def test_10_perf_sql_blog_standard_data(self):
|
||||
self.assertLessEqual(self._get_url_hot_query('/blog'), 11)
|
||||
self.assertLessEqual(self._get_url_hot_query('/blog', cache=False), 23)
|
||||
|
||||
def test_20_perf_sql_blog_bigger_data_scaling(self):
|
||||
BlogPost = self.env['blog.post']
|
||||
|
||||
Reference in New Issue
Block a user