Skip to content

Commit

Permalink
Fix last failing tests with postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
vrigal authored and Archaeopteryx committed Aug 11, 2023
1 parent 2d04b04 commit 913260c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ def test_perf_data(test_perf_signature, eleven_jobs_stored):
# for making things easier, ids for jobs
# and push should be the same;
# also, we only need a subset of jobs
perf_jobs = th_models.Job.objects.filter(pk__in=range(7, 11)).order_by('push__time', 'id').all()
perf_jobs = th_models.Job.objects.filter(pk__in=range(7, 11)).order_by('id').all()

for index, job in enumerate(perf_jobs, start=1):
job.push_id = index
Expand Down
2 changes: 1 addition & 1 deletion tests/model/cycle_data/test_perfherder_cycling.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def test_deleting_performance_data_cascades_to_perf_datum_replicate(test_perf_da
cursor = connection.cursor()
cursor.execute(
'''
DELETE FROM `performance_datum`
DELETE FROM performance_datum
WHERE id = %s
''',
[perf_datum.id],
Expand Down

0 comments on commit 913260c

Please sign in to comment.