[ 
https://issues.apache.org/jira/browse/AIRFLOW-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879421#comment-16879421
 ] 

ASF subversion and git services commented on AIRFLOW-4876:
----------------------------------------------------------

Commit 332be91d00885d973f93d85b27bc30bfaaa2f3e5 in airflow's branch 
refs/heads/master from Jarek
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=332be91 ]

[AIRFLOW-4876] Making tests in CoreTest rerunnable (#5508)

- all related DagRun, TaskInstance and TaskFail objects are properly removed on 
tear down
- replaced "models.<ModelName>" importing with "<ModelName>" direct usage
- extracted test specific DAG ids into test suit constants
- small linter improvements

> Make CoreTest test cases rerunnable
> -----------------------------------
>
>                 Key: AIRFLOW-4876
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4876
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.10.4
>            Reporter: Jarosław Śmietanka
>            Assignee: Jarosław Śmietanka
>            Priority: Minor
>              Labels: test
>
> Contribution to any project is easier when you can quickly iterate on tests. 
> We have spotted that tests in CoreTest are not cleaning properly their state 
> in the DB while performing tear down. 
> Steps to reproduce: run test in CoreTest twice and some will fail 
> We have some code which solves this issue will provide PR.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to