From 97e95afeba368dd06f747665c41f96a50141305a Mon Sep 17 00:00:00 2001 From: hyukjinkwon Date: Thu, 20 Sep 2018 11:03:42 +0800 Subject: [PATCH] Add a note for streaming forech tests --- python/pyspark/sql/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py index 603f994dc9597..6cf258a5027f9 100644 --- a/python/pyspark/sql/tests.py +++ b/python/pyspark/sql/tests.py @@ -1962,6 +1962,9 @@ def __getstate__(self): def __setstate__(self, state): self.open_events_dir, self.process_events_dir, self.close_events_dir = state + # Those foreach tests are failed in Python 3.6 and macOS High Sierra by defined rules + # at http://sealiesoftware.com/blog/archive/2017/6/5/Objective-C_and_fork_in_macOS_1013.html + # To work around this, OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES. def test_streaming_foreach_with_simple_function(self): tester = self.ForeachWriterTester(self.spark)