You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/25 16:02:31 UTC

[GitHub] [airflow] kaxil commented on a diff in pull request #23016: Use inherited 'trigger_tasks' method

kaxil commented on code in PR #23016:
URL: https://github.com/apache/airflow/pull/23016#discussion_r857792428


##########
tests/executors/test_celery_executor.py:
##########
@@ -225,19 +225,19 @@ def test_retry_on_error_sending_task(self, caplog):
 
             # Test that when heartbeat is called again, task is published again to Celery Queue
             executor.heartbeat()
-            assert dict(executor.task_publish_retries) == {key: 2}
+            assert dict(executor.task_publish_retries) == {key: 1}

Review Comment:
   I think that is because now we use "Counter" from collections that starts with "0", whereas previously we started with "1" with OrderedDict



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org