yesemsanthoshkumar commented on a change in pull request #10343:
URL: https://github.com/apache/airflow/pull/10343#discussion_r479562688



##########
File path: tests/providers/google/cloud/operators/test_dataproc.py
##########
@@ -434,7 +591,10 @@ def test_execute(self, mock_hook):
             request_id=REQUEST_ID,
             impersonation_chain=IMPERSONATION_CHAIN,
         )
-        op.execute(context={})
+        op.execute(context=self.mock_context)
+
+        # Test whether xcom push occurs before polling for job
+        
self.extra_links_manager_mock.assert_has_calls(self.extra_links_expected_calls, 
any_order=False)

Review comment:
       @turbaszek Have added checks for xcom_push before wait_for_job too. 
Please take a look.




----------------------------------------------------------------
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]


Reply via email to