Ensure all tests that create TaskInstances in DB also create DagRuns #17046
Labels
kind:task
A task that needs to be completed as part of a larger issue
Milestone
As part of the work on AIP-39 we want to make it so that every TaskInstance in the DB has DagRun.
Now at "run time" this is already the case (baring the case where someone might delete a DagRun. Rare, now only possible by direct DB? I can't remember if Browse -> DagRuns allows deleting anymore or not) but in our tests this is far from the case
There are countless examples of where the tests just directly create TaskInstances, without a matching DagRun.
We need to fix that so that the tests reflect reality.
dag_maker
fixture in some test files under tests/models #17556The text was updated successfully, but these errors were encountered: