ephraimbuddy commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2353722080


##########
providers/amazon/tests/unit/amazon/aws/operators/test_datasync.py:
##########
@@ -217,9 +217,11 @@ def test_init_fails(self, mock_get_conn):
         with pytest.raises(AirflowException):
             self.set_up_operator(source_location_uri=None)
         with pytest.raises(AirflowException):
-            self.set_up_operator(destination_location_uri=None)
+            self.set_up_operator(destination_location_uri=None, 
task_id="datasync_task2")

Review Comment:
   This was giving DuplicatedTaskIdException due to how set_up_operator works. 
And duplicatedTaskIdException is sdk thing not core. When I specified the 
task_id, it now raised the right exception



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to