Skip to content

Commit

Permalink
sorder push notes in test by ID to prevent intermittent failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Archaeopteryx committed Dec 11, 2024
1 parent d32ffe8 commit 6bed788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/webapp/api/test_note_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_push_notes(client, test_job_with_notes):
"""
test retrieving all notes for a given push revision
"""
notes = JobNote.objects.all()
notes = JobNote.objects.all().order_by("id")

resp = client.get(
reverse("note-push-notes", kwargs={"project": test_job_with_notes.repository.name}),
Expand Down

0 comments on commit 6bed788

Please sign in to comment.