sc250072 opened a new issue, #56287: URL: https://github.com/apache/airflow/issues/56287
### Apache Airflow version main (development) ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? I have configured AIRFLOW_CONN_TERADATA_DEFAULT='teradata://login:password@host/schema' in `files/airflow-breeze-config/environment_variables.env` but when running system test using `breeze testing system-tests providers/teradata/tests/system/teradata/example_teradata.py`, breeze considering default connection values (defined as localhost as host in source code) and not considering connection details defined in environment file. But when I start airflow using `breeze start-airflow`, example_teradata.py dag is working successfully. I tried to export AIRFLOW_CONN_TERADATA_DEFAULT='teradata://login:password@host/schema' at bash level and also tried at bash shell but both are not working. I also tried to change connection name from teradata_default to teradata_normal at `teradata/tests/system/teradata/example_teradata.py` and defined AIRFLOW_CONN_TERADATA_NORMAL='teradata://login:password@host/schema' in `files/airflow-breeze-config/environment_variables.env` and breeze testing system-tests failing with _teradata_normal connection is not defined._ ### What you think should happen instead? - `breeze testing system-tests `should consider connections defined in environment variables and system tests should get success with provided connection details. ### How to reproduce - `git clone https://github.com/apache/airflow.git` - cd airflow - `uv tool install -e ./dev/breeze` - create directory under `files/airflow-breeze-config` and create `environment_variables.env` - Define connection to Teradata database as `AIRFLOW_CONN_TERADATA_DEFAULT='teradata://login:password@host/schema'` - Run `./scripts/ci/testing/run_system_tests.sh providers/teradata/tests/system/teradata/example_teradata.py` New Teradata database instance can be set using following steps. - Create a new ClearScape Analytics™ Experience account. > If you don't already have one, sign up at: > > [Teradata ClearScape Analytics™ Experience](https://www.teradata.com/getting-started/demos/clearscape-analytics) > - Login > Sign in with your new account at: > > [ClearScape Analytics™ Experience Login](https://clearscape.teradata.com/sign-in) - Create new Teradata instance > use option `Create new environment` to create new Teradata instance > login: demo_user > schema: demo_user ### Operating System Ubuntu 22.04.5 LTS ### Versions of Apache Airflow Providers apache-airflow-providers-teradata - 3.2.1 ### Deployment Docker-Compose ### Deployment details docker Version 27.5.1 Docker Compose version v2.32.4 Python 3.10.12 ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
