lubimow-xwf opened a new pull request, #71940: URL: https://github.com/apache/airflow/pull/71940
When running `breeze testing system-tests`, the api server is started before the `pytest`. Currently they share the same sql_alchemy_conn, but they use different fernet key. Some system tests, such as `providers/google/tests/system/google/cloud/gcs/example_gdrive_to_gcs.py`, first create a connection using the API server and then try to use it. If there is any extra data passed, it will be encrypted using one fernet key (used by the API server) and the attempt to decrypt will be made using pytest fernet key. Rationale of this change is that if without `--keep-env-variables` sql_alchemy_conn is kept, then the fernet key should also be kept. For this fix to work, the user still needs to set `AIRFLOW__CORE__FERNET_KEY` in their environment. It would probably be nicer if the breeze testing script set it up automatically just like it sets sqlalchemy connection string. -- 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]
