anishgirianish commented on code in PR #62343:
URL: https://github.com/apache/airflow/pull/62343#discussion_r2971261156
##########
airflow-core/src/airflow/executors/base_executor.py:
##########
@@ -305,10 +315,19 @@ def heartbeat(self) -> None:
self._emit_metrics(open_slots, num_running_workloads,
num_queued_workloads)
self.trigger_tasks(open_slots)
+ self.trigger_connection_tests()
+
# Calling child class sync method
self.log.debug("Calling the %s sync method", self.__class__)
self.sync()
+ def trigger_connection_tests(self) -> None:
+ """Process queued connection tests."""
+ if not self.supports_connection_test or not
self.queued_connection_tests:
+ return
+
+ self._process_workloads(list(self.queued_connection_tests.values()))
Review Comment:
added the check thank you
--
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]