potiuk opened a new issue #17617:
URL: https://github.com/apache/airflow/issues/17617


   We should also take a look if there is a way to mock the calls rather than 
having to communicate with the reaal "Alibaba Cloud". This way our unit tests 
would be even more  stable. For AWS we are using `moto` library. Seems that 
Alibaba has built-in way to use Mock server as backend (?) 
https://www.alibabacloud.com/help/doc-detail/48978.htm
   
   CC: @Gabriel39 -> would you like to pick on that task? We had a number of 
transient failures of the unit tests over the last week - cause the unit tests 
were actually reaching out to cn-hengzou Alibaba region's servers, which has a 
lot of stability issues. I am switching to us-east-1 in 
https://github.com/apache/airflow/pull/17616 but ideally we should not reach 
out to "real" services in unit tests (we are working on standardizing system 
tests that will do that and reach-out to real services but it should not be 
happening for unit tests).
   
   


-- 
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]


Reply via email to