[
https://issues.apache.org/jira/browse/AIRFLOW-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuliya Volkova updated AIRFLOW-2073:
------------------------------------
Comment: was deleted
(was: [~tikok], hello, can you clarify which version of airflow are you using?
Seems like you talk about version from master branch, because inside stable
release 1.9.0 there are no FileSensor
[https://github.com/apache/incubator-airflow/tree/d760d63e1a141a43a4a43daee9abd54cf11c894b/airflow/contrib/sensors]
, but it exist on master branch)
> FileSensor always return True
> -----------------------------
>
> Key: AIRFLOW-2073
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2073
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib
> Affects Versions: 1.9.0
> Environment: Ubuntu 16.04
> Reporter: Pierre Payet
> Priority: Trivial
>
> When using a FileSensor, the path is tested with os.walk. However, this
> function never raise an error if the path does not exist and the poke will
> always return True.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)