doddsiedodds commented on a change in pull request #19102:
URL: https://github.com/apache/airflow/pull/19102#discussion_r735359416
##########
File path: tests/dag_processing/test_processor.py
##########
@@ -297,6 +297,34 @@ def test_dag_file_processor_sla_miss_email_exception(
)
mock_stats_incr.assert_called_once_with('sla_email_notification_failure')
+ @mock.patch('airflow.dag_processing.processor.Stats.incr')
+ def test_dag_file_processor_sla_miss_stats_logging(self, mock_stats_incr,
create_dummy_dag):
+ """Test that SLA misses are logged with the Stats framework"""
+ self.clean_db()
Review comment:
Removed
--
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]