ramziash commented on code in PR #74583:
URL: https://github.com/apache/airflow/pull/74583#discussion_r4693102795
##########
airflow-core/tests/unit/assets/test_manager.py:
##########
@@ -880,6 +881,131 @@ def
test_assigning_created_dag_run_id_clears_pending_partition_key(self):
assert apdr.pending_partition_key is None
+ @pytest.mark.usefixtures("testing_dag_bundle")
+ def test_get_or_create_apdr_refire_seeds_sibling_logs(self, session):
Review Comment:
Right, the fired APDR only had the sibling's log so that filter never got
hit. Turned it into a parametrized test: an earlier log for the arriving asset
(dropped), a rollup case with several source keys (the others are kept), and no
refire_policy (nothing copied). Also added a newrun scheduler test that checks
the new run consumes exactly the late event + the sibling's original one. And
the rerun test now sends another event after the rerun. That opens a new
pending APDR and the same run gets re-queued again (clear_number goes to 2).
--
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]