schattian commented on code in PR #23658:
URL: https://github.com/apache/airflow/pull/23658#discussion_r875764928
##########
kubernetes_tests/test_kubernetes_pod_operator.py:
##########
@@ -376,7 +377,9 @@ def test_port(self):
assert self.expected_pod == actual_pod
def test_volume_mount(self):
- with mock.patch.object(PodManager, 'log') as mock_logger:
+ with mock.patch.object(
Review Comment:
notice a non-process safe counter makes this test flaky or impossible to do
as the call of log.info happens in a process.
--
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]