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

   **Description**
   
   This PR adds unit tests for `AirbyteTriggerSyncOperator.execute_complete`. 
The tests cover scenarios where the operator completes successfully on 
non-error events and where an error event triggers an exception.
   
   **Rationale**
   
   `execute_complete` is a key part of the deferrable execution flow but was 
not previously covered by the test suite. The method contains branching logic 
based on trigger event status that determines whether execution succeeds or 
fails. 
   
   **Notes**
   
   Opportunistically updated exception type from `AirflowException` to 
`RuntimeError` to align with agreed consensus and current implementation, as 
one of the tests asserts that an error is raised.


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