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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to