forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky test_get_context_in_old_style_context_task test (apache#28585)
The test was flaky because it was passing schedule "@once" as default_args (wrongly) - as the result this test was set to the default "daily" and since start date was set to 1st Jan 2022 it executed longer and longer every day (running the Python Operator for every day between 1st Jan and now. This PR cahnges the test to correctly pass "@once" schedule via the `schedule' parameter.
- Loading branch information
Showing
1 changed file
with
12 additions
and
14 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