You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2020/01/19 23:37:09 UTC
[jira] [Closed] (AIRFLOW-707) Task return "False" should have
status "failed" not "sucess"
[ https://issues.apache.org/jira/browse/AIRFLOW-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk closed AIRFLOW-707.
--------------------------------
Resolution: Won't Fix
I am closing some old issues that are not relevant any more. Please let me know if you want to reopen it.
> Task return "False" should have status "failed" not "sucess"
> ------------------------------------------------------------
>
> Key: AIRFLOW-707
> URL: https://issues.apache.org/jira/browse/AIRFLOW-707
> Project: Apache Airflow
> Issue Type: Improvement
> Affects Versions: 1.7.1
> Environment: Mac OS X - El Capitan
> Reporter: Renan Oliveira
> Priority: Minor
>
> I expected my task failed if my task return "False" but it is only returned failed if include an Exception.
> Run command:
> $ AIRFLOW_HOME=$PWD airflow run false-check check 2016-12-20T17:18:00
> Gist with example code:
> https://gist.github.com/tarsisazevedo/49b6462cc530c363ae929a44c2931e42
> Image webserver success:
> https://lh3.googleusercontent.com/-SOdXfg_aOVI/WFmEGrUsTVI/AAAAAAAAAgg/L8WaX6W637cNEba44veHLTP37bdI7YzgACL0B/h240/Screen%2BShot%2B2016-12-20%2Bat%2B5.18.32%2BPM.png
--
This message was sent by Atlassian Jira
(v8.3.4#803005)