You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "oli2tup (via GitHub)" <gi...@apache.org> on 2025/03/04 09:38:31 UTC
Re: [PR] Fix Azure Spot Containers unhealthy loop issue #47023 [airflow]
oli2tup commented on PR #47030:
URL: https://github.com/apache/airflow/pull/47030#issuecomment-2696828899
> > > Thanks for the changes! Could you please include a unit test case for this new addition? Since we now have a new condition, it is worth checking.
> >
> >
> > Happy to, are there unit tests already for the Azure Container Instances class? I'm having trouble finding them. If not I'll write some new ones. Thanks
>
> Nice! Sure, you can find them here https://github.com/apache/airflow/blob/main/providers/microsoft/azure/tests/unit/microsoft/azure/operators/test_container_instances.py. All the providers have their unit tests under their directory and then `tests/unit`. `providers/<provider_name>/**/tests/unit`
Hey, I'm having trouble running the tests even w/o any changes. I've followed the install and testing instructions on the INSTALL markdown but keep getting hit with the below.
> ValueError: Cannot resolve 'airflow.sdk.execution_time.secrets_masker.SecretsMasker': No module named 'airflow.sdk'
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org