[
https://issues.apache.org/jira/browse/AIRFLOW-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847081#comment-16847081
]
ASF GitHub Bot commented on AIRFLOW-4554:
-----------------------------------------
potiuk commented on pull request #5310: [ AIRFLOW-4554] Test for sudo command,
add some other test docs
URL: https://github.com/apache/airflow/pull/5310
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> run_unit_tests.sh uses sudo unconditionally
> -------------------------------------------
>
> Key: AIRFLOW-4554
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4554
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Aaron Dossett
> Assignee: Aaron Dossett
> Priority: Major
>
> The run_unit_tests.sh script includes a sudo command:
>
> [https://github.com/apache/airflow/blob/master/run_unit_tests.sh#L65]
> However, one of the recommended methods for running unit tests locally is to
> create a docker container and that container lacks the sudo command. The
> script should only sudo if sudo exists.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)