Skip to content

Commit

Permalink
[FIX] website_blog: remove problematic test without cache
Browse files Browse the repository at this point in the history
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]: 88b016f
[this other commit]: dad8dca

runbot-55755

closes #162165

X-original-commit: 1d16d3a
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Guillaume Dieleman (gdi) <gdi@odoo.com>
  • Loading branch information
Guillaume-gdi committed Apr 17, 2024
1 parent dc84ce8 commit c308051
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion addons/website_blog/tests/test_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def setUp(self):

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']
Expand Down

0 comments on commit c308051

Please sign in to comment.