airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Anand (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-371) Configuration test_mode() doesn't seem to do anything
Date Fri, 12 Aug 2016 01:03:20 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Anand updated AIRFLOW-371:
------------------------------------
    External issue URL: https://github.com/apache/incubator-airflow/pull/1677

> Configuration test_mode() doesn't seem to do anything
> -----------------------------------------------------
>
>                 Key: AIRFLOW-371
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-371
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: tests, ts
>            Reporter: Jeremiah Lowin
>            Assignee: Jeremiah Lowin
>
> Calling {{airflow.conf.test_mode()}} loads a new configuration object with the TEST_CONFIG,
but it doesn't actually return it -- it appears that the TEST_CONFIG is never actually loaded.
In other words, calling {{test_mode()}} doesn't actually do anything!
> This doesn't affect Airflow's unit testing process because the {{run_unit_tests.sh}}
script explicitly points at the hardcoded {{unittest.cfg}} file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message