sjyangkevin commented on code in PR #74548:
URL: https://github.com/apache/airflow/pull/74548#discussion_r4242963131


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_task_instances.py:
##########
@@ -5450,12 +5450,20 @@ def 
test_clear_by_task_group_id_handles_group_larger_than_page_size(
             pytest.param(True, ["a", 0], [("a", 0), ("b", -1), ("root", -1)], 
id="mapped"),
         ],
     )
+    @pytest.mark.parametrize("with_loop", [False, True], ids=["without-loop", 
"with-unrelated-loop"])
     def test_clear_with_upstream_and_downstream_excludes_unrelated_tasks(

Review Comment:
   `test_outside_predecessor_selects_all_mapped_loop_occurrences` is updated to 
have the downstream-only case. The upstream and downstream case is 
`test_loop_upstream_and_downstream_scope_excludes_other_map_indexes`: clearing 
map index 0 in iteration 1 selects the predecessor and that iteration's gate, 
but not map index 1. Both tests use the same Dag through a fixture.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to