Github user ueshin commented on a diff in the pull request: https://github.com/apache/spark/pull/21437#discussion_r191509834 --- Diff: python/pyspark/tests.py --- @@ -543,6 +543,15 @@ def test_tc_on_driver(self): tc = TaskContext.get() self.assertTrue(tc is None) + def test_get_local_property(self): + """Verify that local properties set on the driver are available in TaskContext.""" + self.sc.setLocalProperty("testkey", "testvalue") --- End diff -- We should cleanup the property after the test to avoid affecting to other tests?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org