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 22:07:08 UTC

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

dongjoon-hyun commented on a change in pull request #30277:
URL: https://github.com/apache/spark/pull/30277#discussion_r519029346



##########
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:
       The same question. And, is it different from `random.randint(2, 10)`?




----------------------------------------------------------------
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