[
https://issues.apache.org/jira/browse/AIRFLOW-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825088#comment-16825088
]
ASF subversion and git services commented on AIRFLOW-4362:
----------------------------------------------------------
Commit 05f338ecbe9b378a4a86da7289291fd1ddd53482 in airflow's branch
refs/heads/v1-10-test from Chao-Han Tsai
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=05f338e ]
[AIRFLOW-4362] Fix test_execution_limited_parallelism (#5141)
(cherry picked from commit d3d417db5c7bb51f24a9a06dce23344d8a007ff4)
> Fix test_execution_limited_parallelism logic
> --------------------------------------------
>
> Key: AIRFLOW-4362
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4362
> Project: Apache Airflow
> Issue Type: New Feature
> Reporter: Chao-Han Tsai
> Assignee: Chao-Han Tsai
> Priority: Major
> Fix For: 2.0.0
>
>
> - We should use `assertEqual` to compare two items instead of using
> `assertTrue`.
> - Ensure that all queues are empty after the executer ends. So when
> executor.end()is called, it ensures that the queues are empty with:
> https://github.com/apache/airflow/blob/master/airflow/executors/local_executor.py#L195-L196
>
> https://github.com/apache/airflow/blob/master/airflow/executors/local_executor.py#L205
> So I am adding assertion in the test to ensure that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)