Skip to content

Commit

Permalink
Make TestUploadTestProcessor less flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
michelletran-codecov committed Nov 5, 2024
1 parent 362c609 commit 1adff7e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tasks/tests/unit/test_test_results_processor_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,9 @@ def test_upload_processor_task_call_existing_test_diff_flags_hash(

test_flag_bridges = dbsession.query(TestFlagBridge).all()

assert [bridge.test_id for bridge in test_flag_bridges] == [
tests[1].id,
tests[2].id,
tests[3].id,
tests[4].id,
]
assert set(bridge.test_id for bridge in test_flag_bridges) == set(
instance.test_id for instance in test_instances
)
for bridge in test_flag_bridges:
assert bridge.flag == repo_flag

Expand Down

0 comments on commit 1adff7e

Please sign in to comment.