SameerMesiah97 commented on code in PR #64051:
URL: https://github.com/apache/airflow/pull/64051#discussion_r3142059690


##########
providers/airbyte/tests/unit/airbyte/triggers/test_airbyte.py:
##########
@@ -221,6 +225,34 @@ async def test_airbyte_job_timeout(self, 
mock_get_job_status, mocked_is_still_ru
         )
         assert expected == actual
 
+    @pytest.mark.asyncio
+    
@mock.patch("airflow.providers.airbyte.triggers.airbyte.AirbyteSyncTrigger.is_still_running")
+    async def test_airbyte_job_run_execution_timeout(self, 
mocked_is_still_running):
+        """Assert that run timeout after execution_deadline has elapsed"""
+
+        mocked_is_still_running.return_value = True

Review Comment:
   The redundant `is_still_running` mocks have been removed and the tests have 
been adjusted where appropriate.



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