[ 
https://issues.apache.org/jira/browse/AIRFLOW-4864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937673#comment-16937673
 ] 

ASF subversion and git services commented on AIRFLOW-4864:
----------------------------------------------------------

Commit 735ac4d4079c7ef1f303fe6212c42eab3b9b2d82 in airflow's branch 
refs/heads/v1-10-test from Ash Berlin-Taylor
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=735ac4d ]

[AIRFLOW-4864] Remove calls to load_test_config (#5502)

We already set the environment variable in the test runner so that
airflow.configuration will do this -- we don't need to do it again

(cherry picked from commit 6ae5f2b69a85346bc82c35b1e930dd4469436b9e)


> Don't call load_test_configuration multiple times
> -------------------------------------------------
>
>                 Key: AIRFLOW-4864
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4864
>             Project: Apache Airflow
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 2.0.0
>            Reporter: Ash Berlin-Taylor
>            Assignee: Ash Berlin-Taylor
>            Priority: Minor
>             Fix For: 1.10.6
>
>
> We have a pattern that many test files have cargo-culted from each other to 
> call {{load_test_configuration}}, either at the module level, or inside the 
> {{setUp}} of the test classes.
> This isn't needed - we already load the test config from the environment 
> variable we set in travis, so this just causes a (tiny) delay.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to