uranusjr commented on code in PR #26169:
URL: https://github.com/apache/airflow/pull/26169#discussion_r964775094


##########
tests/utils/log/test_log_reader.py:
##########
@@ -199,6 +199,7 @@ def 
test_read_log_stream_should_support_multiple_chunks(self, mock_read):
         mock_read.side_effect = [first_return, second_return, third_return, 
fourth_return]
 
         task_log_reader = TaskLogReader()
+        self.ti.state = State.SUCCESS

Review Comment:
   Better to use `TaskInstanceState.SUCCESS` here



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