HyukjinKwon commented on a change in pull request #24898: [SPARK-22340][PYTHON]
Add a mode to pin Python thread into JVM's
URL: https://github.com/apache/spark/pull/24898#discussion_r337812830
##########
File path: python/pyspark/testing/utils.py
##########
@@ -50,6 +51,44 @@ def write_int(i):
return struct.pack("!i", i)
+def eventually(condition, timeout=30.0, catch_assertions=False):
Review comment:
Just moved from `test_streaming_algorithms.py`
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]