jscheffl commented on code in PR #50192:
URL: https://github.com/apache/airflow/pull/50192#discussion_r2114604014
##########
providers/cncf/kubernetes/tests/unit/cncf/kubernetes/utils/test_pod_manager.py:
##########
@@ -160,6 +160,29 @@ def
test_read_pod_logs_successfully_with_since_seconds(self):
]
)
+ @pytest.mark.asyncio
+ @mock.patch("asyncio.sleep", new_callable=mock.AsyncMock)
+ async def test_watch_pod_events(self, mock_time_sleep, caplog):
Review Comment:
Old "friend" `caplog` - this typically generates trouble. Please check for
alternative ways to get log output.
--
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]