You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/06 16:57:27 UTC

[GitHub] [spark] BryanCutler commented on a change in pull request #30277: [SPARK-33371][PYTHON] Update setup.py and tests for Python 3.9

BryanCutler commented on a change in pull request #30277:
URL: https://github.com/apache/spark/pull/30277#discussion_r518879946



##########
File path: python/pyspark/tests/test_taskcontext.py
##########
@@ -124,12 +124,12 @@ def f(iterator):
 
         def context_barrier(x):
             tc = BarrierTaskContext.get()
-            time.sleep(random.randint(1, 10))
+            time.sleep(random.randint(1, 5) * 2)

Review comment:
       Isn't this basically increasing the minimum sleep time? I would think that tend to make it more flaky..




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org