Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/2765#discussion_r25502824
--- Diff: python/pyspark/streaming/tests.py ---
@@ -446,7 +446,7 @@ def test_queue_stream(self):
def test_text_file_stream(self):
d = tempfile.mkdtemp()
self.ssc = StreamingContext(self.sc, self.duration)
- dstream2 = self.ssc.textFileStream(d).map(int)
+ dstream2 = self.ssc.textFileStream(d, 1).map(int)
--- End diff --
I'd omit ", 1" since that is the 'default'. This test actually does not
change.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]