Skip to content

Commit

Permalink
fix test_handle_stuck_queued_tasks_multiple_attempts (apache#44093)
Browse files Browse the repository at this point in the history
  • Loading branch information
gopidesupavan authored and Lefteris Gilmaz committed Jan 5, 2025
1 parent 8c3c201 commit 96791ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jobs/test_scheduler_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -2284,7 +2284,7 @@ def _queue_tasks(tis):
assert [x.queued_dttm for x in tis] == [None, None]

_queue_tasks(tis=tis)
log_events = [x.event for x in session.scalars(select(Log)).all()]
log_events = [x.event for x in session.scalars(select(Log).where(Log.run_id == run_id)).all()]
assert log_events == [
"stuck in queued reschedule",
"stuck in queued reschedule",
Expand Down

0 comments on commit 96791ac

Please sign in to comment.