Taragolis opened a new pull request, #28110:
URL: https://github.com/apache/airflow/pull/28110
Seems. like `SYSTEM_TESTS_ENV_ID` not set during `always` unittests in main
```
FAILED
tests/always/test_example_dags.py::test_should_be_importable[tests/system/providers/google/cloud/cloud_memorystore/example_cloud_memorystore_redis.py]
ERROR airflow.models.dagbag.DagBag:dagbag.py:343 Failed to import:
/opt/airflow/tests/system/providers/google/cloud/cloud_memorystore/example_cloud_memorystore_redis.py
Traceback (most recent call last):
File "/opt/airflow/airflow/models/dagbag.py", line 339, in parse
loader.exec_module(new_module)
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in
_call_with_frames_removed
File
"/opt/airflow/tests/system/providers/google/cloud/cloud_memorystore/example_cloud_memorystore_redis.py",
line 57, in <module>
MEMORYSTORE_REDIS_INSTANCE_NAME = f"redis-{ENV_ID.lower()}-1"
AttributeError: 'NoneType' object has no attribute 'lower'
```
--
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]