The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user dstandish (triggered by dstandish).

Head commit for run:
3cd4df16d4f383c27f7fc6bd932bca1f83ab9977 / Daniel Standish 
<[email protected]>
Add fixture for CLI tests requiring sample dags (#26536)

I noticed that various CLI tests were failing (specifically in 
test_task_command.py) when run locally but not when run in breeze.  I figured 
out the cause is that breeze has ('core', 'load_examples') set to true but I 
had it false locally.  To fix this we can add a fixture that patches the conf 
settings.  But we have to go one step further.  If we grab the conf value in 
the default for the argument in DagBag, this means the value is fixed at the 
time the class gets defined.  So the value cannot be changed later in runtime!  
The solution is to resolve the default on the fly each time an instance is 
created.

We do the same for safe_mode while we're at it, because why not.

Report URL: https://github.com/apache/airflow/actions/runs/3095227367

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to