Lee-W commented on code in PR #36968:
URL: https://github.com/apache/airflow/pull/36968#discussion_r1463128170


##########
tests/models/test_taskinstance.py:
##########
@@ -3192,6 +3192,22 @@ def raise_skip_exception():
         assert State.SKIPPED == ti.state
         assert callback_function.called
 
+    def test__run_raw_task_decorated_with_sentry_enrich_errors(self, 
create_task_instance):
+        """
+        Test TaskInstance._run_raw_task is decorated with encountering error.
+        """
+        ti = create_task_instance()
+        ti._run_raw_task()

Review Comment:
   I tired to make sure that function in the decorator is called in the latest 
change



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to