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 2019/07/12 23:33:03 UTC

[GitHub] [airflow] milton0825 commented on a change in pull request #5570: [AIRFLOW-4939] Add default_task_retries config

milton0825 commented on a change in pull request #5570: [AIRFLOW-4939] Add default_task_retries config
URL: https://github.com/apache/airflow/pull/5570#discussion_r303177274
 
 

 ##########
 File path: tests/operators/test_bash_operator.py
 ##########
 @@ -33,6 +34,15 @@
 
 
 class BashOperatorTest(unittest.TestCase):
+    @classmethod
+    def setUpClass(cls):
+        configuration.conf.set('core', 'default_task_retries', "3")
 
 Review comment:
   I think you can use https://github.com/apache/airflow/blob/577f8936727454eb4ff54588cd525c5244ef6d52/tests/test_utils/decorators.py#L28 instead

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services