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:
[email protected]


With regards,
Apache Git Services

Reply via email to