Skip to content

Commit 913260c

Browse files
vrigalArchaeopteryx
authored andcommitted
Fix last failing tests with postgres
1 parent 2d04b04 commit 913260c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def test_perf_data(test_perf_signature, eleven_jobs_stored):
705705
# for making things easier, ids for jobs
706706
# and push should be the same;
707707
# also, we only need a subset of jobs
708-
perf_jobs = th_models.Job.objects.filter(pk__in=range(7, 11)).order_by('push__time', 'id').all()
708+
perf_jobs = th_models.Job.objects.filter(pk__in=range(7, 11)).order_by('id').all()
709709

710710
for index, job in enumerate(perf_jobs, start=1):
711711
job.push_id = index

tests/model/cycle_data/test_perfherder_cycling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def test_deleting_performance_data_cascades_to_perf_datum_replicate(test_perf_da
838838
cursor = connection.cursor()
839839
cursor.execute(
840840
'''
841-
DELETE FROM `performance_datum`
841+
DELETE FROM performance_datum
842842
WHERE id = %s
843843
''',
844844
[perf_datum.id],

0 commit comments

Comments
 (0)