HyukjinKwon commented on a change in pull request #28986:
URL: https://github.com/apache/spark/pull/28986#discussion_r449536593



##########
File path: python/pyspark/tests/test_context.py
##########
@@ -267,6 +267,13 @@ def test_resources(self):
             resources = sc.resources
             self.assertEqual(len(resources), 0)
 
+    def test_disallow_to_create_spark_context_in_executors(self):
+        with SparkContext("local-cluster[3, 1, 1024]") as sc:

Review comment:
       I would put a JIRA ID and a short comment like as we lately documented 
it at http://spark.apache.org/contributing.html
   
   ```python
   def test_case(self):
       # SPARK-12345: a short description of the test
       ...
   ```




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to