Skip to content

Commit 8fb7b8e

Browse files
committed
chore: revise comments to align with the changes
1 parent 82a73b1 commit 8fb7b8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

airflow-core/tests/unit/models/test_dagrun.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2288,11 +2288,12 @@ def mapped_print_value(arg):
22882288
session.merge(ti)
22892289
dag_maker.run_ti("generate_mapping_args", dr)
22902290

2291-
# Check if the correct number of new mapped task instances are created/scheduled.
2291+
# Check if the new mapped task instances are correctly scheduled
22922292
decision = dr.task_instance_scheduling_decisions(session=session)
22932293
assert len(decision.schedulable_tis) == rerun_length
22942294
assert all([ti.task_id == "mapped_print_value" for ti in decision.schedulable_tis])
22952295

2296+
# Check if mapped task rerun successfully
22962297
for ti in decision.schedulable_tis:
22972298
dag_maker.run_ti(ti.task_id, dr, map_index=ti.map_index)
22982299
query = select(TI).filter_by(

0 commit comments

Comments
 (0)