Skip to content

Commit

Permalink
Update test_tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Archaeopteryx authored Mar 26, 2024
1 parent 3b40e92 commit 0900d62
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/log_parser/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ def test_bug_suggestion_line(
search_mock, failure_classifications, jobs_with_local_log, sample_push, test_repository
):
"""
A test to reproduce a search issue with PostgreSQL
https://github.com/mozilla/treeherder/pull/7986
A test to verify similarity of search term (often test name) derived from
the failure line and bug summary gets taken into account. If it is equal
for every bug, the expected result won't be returned by the query because
of its higher bug ID.
"""
store_push_data(test_repository, sample_push)
for job in jobs_with_local_log:
Expand All @@ -88,7 +90,6 @@ def test_bug_suggestion_line(

job = Job.objects.get(id=1)

# Create a bug entry that pass with MySQL and fails with Postgres
Bugscache.objects.create(
id=1775819,
status="2",
Expand Down

0 comments on commit 0900d62

Please sign in to comment.