-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor test_dag and add new test for DAG pause behavior
Refactored `test_dag.py` by abstracting repeated code into `add_failed_dag_run` function. This makes the tests more readable and maintainable. Furthermore, a new test was added to verify the 'pause' behavior of a DAG after a limit of consecutive failures has been reached. This ensures that the DAG behaves as expected under failure conditions.
- Loading branch information
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters