SameerMesiah97 opened a new pull request, #63765:
URL: https://github.com/apache/airflow/pull/63765

   **Description**
   
   Add unit tests for `AzureBatchHook.wait_for_all_node_state`. The tests cover 
scenarios where nodes are immediately ready, where polling continues due to 
insufficient node count or node state, and where a pool resize error triggers 
an exception.
   
   **Rationale**
   
   The test suite contained a `#TODO` indicating missing coverage for this 
method. The polling logic in `wait_for_all_node_state` contains multiple 
branches controlling loop termination and error handling that were not 
previously exercised by the test suite. **Separate tests are used instead of 
parametrization to clearly represent the lifecycle and polling transitions of 
compute nodes**.


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