ashb commented on a change in pull request #4256: [AIRFLOW-3417] Use the 
platformVersion only for the FARGATE launch type
URL: https://github.com/apache/airflow/pull/4256#discussion_r255010553
 
 

 ##########
 File path: tests/contrib/operators/test_ecs_operator.py
 ##########
 @@ -133,6 +134,38 @@ def test_execute_without_failures(self, check_mock, 
wait_mock):
         self.assertEqual(self.ecs.arn,
                          
'arn:aws:ecs:us-east-1:012345678910:task/d8c67b3c-ac87-4ffe-a847-4785bc3a8b55')
 
+    @mock.patch.object(ECSOperator, '_wait_for_task_ended')
+    @mock.patch.object(ECSOperator, '_check_success_task')
+    def test_fargate_run(self, check_mock, wait_mock):
 
 Review comment:
   @jmcarp Is there an example in the repo else where you can point at?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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