hunnguye commented on code in PR #71949:
URL: https://github.com/apache/airflow/pull/71949#discussion_r4166139772


##########
providers/apache/spark/tests/unit/apache/spark/hooks/test_spark_submit.py:
##########
@@ -487,6 +560,7 @@ def test_resolve_connection_yarn_default_connection(self):
             "keytab": None,
             "rest_scheme": "http",
             "rest_port": 6066,
+            "rest_endpoint": None,

Review Comment:
   I introduced something like a default set of connection attributes, which I 
took from the _resolve_connection method.
   Each test would then just override the necessary parameters.
   Tests completed without failure.



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to