From 1d16d3a0951be5eb71e7f9ed135f6d792533f6a3 Mon Sep 17 00:00:00 2001 From: Guillaume-gdi Date: Tue, 16 Apr 2024 11:31:53 +0200 Subject: [PATCH] [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) --- addons/website_blog/tests/test_performance.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/website_blog/tests/test_performance.py b/addons/website_blog/tests/test_performance.py index 37b56b75de1..c153ef1f33d 100644 --- a/addons/website_blog/tests/test_performance.py +++ b/addons/website_blog/tests/test_performance.py @@ -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']