Owen-CH-Leung commented on code in PR #53821:
URL: https://github.com/apache/airflow/pull/53821#discussion_r2327490309


##########
providers/elasticsearch/tests/unit/elasticsearch/log/test_es_task_handler.py:
##########
@@ -131,7 +136,7 @@ def teardown_method(self):
     def test_es_response(self):
         sample_response = self.es.sample_log_response()
         es_response = ElasticSearchResponse(self.es_task_handler, 
sample_response)
-        logs_by_host = self.es_task_handler._group_logs_by_host(es_response)
+        logs_by_host = self.es_task_handler.io._group_logs_by_host(es_response)
 
         def concat_logs(lines):
             log_range = -1 if lines[-1].message == 
self.es_task_handler.end_of_log_mark else None

Review Comment:
   I've revised to use `concat_logs` instead. Thanks a lot !



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