[
https://issues.apache.org/jira/browse/AIRFLOW-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824272#comment-15824272
]
ASF subversion and git services commented on AIRFLOW-737:
---------------------------------------------------------
Commit 8fd65f8ac4a305da01324c5120fbfab8b51f5d46 in incubator-airflow's branch
refs/heads/v1-8-test from [~vfoucault]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=8fd65f8 ]
[AIRFLOW-737] Fix HDFS Sensor directory.
Due to a bad ordering in the fake snakebite
client, one test was wrongly True.
Closes #1989 from
vfoucault/fixbug/hdfssensor_folder
> [HDFSSensorsFolder] : Failed to match directory
> -----------------------------------------------
>
> Key: AIRFLOW-737
> URL: https://issues.apache.org/jira/browse/AIRFLOW-737
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib, operators
> Environment: HdfsSensorFolder : Poke for non-empty directory
> Reporter: Vianney FOUCAULT
> Assignee: Vianney FOUCAULT
>
> Due to a bad ordered test case response, the HdfsSensorFolder if not working
> in the following cases :
> => be_empty: false
> the returned list (hdfs listing) contains the directory entry first therefor
> it cannot match bool(result) and files[0]['file_type'] == 'f'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)