ashb commented on a change in pull request #20114:
URL: https://github.com/apache/airflow/pull/20114#discussion_r764762224
##########
File path: tests/task/task_runner/test_base_task_runner.py
##########
@@ -45,10 +44,8 @@ def test_config_copy_mode(tmp_configuration_copy, chown,
subprocess_call, dag_ma
tmp_configuration_copy.assert_called_with(chmod=0o600,
include_env=includes, include_cmds=includes)
if impersonation:
- chown.assert_called()
subprocess_call.assert_called_with(
['sudo', 'chown', impersonation,
tmp_configuration_copy.return_value], close_fds=True
Review comment:
```suggestion
['sudo', 'chown', impersonation,
tmp_configuration_copy.return_value, runner._error_file], close_fds=True
```
--
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]