srowen commented on a change in pull request #30288:
URL: https://github.com/apache/spark/pull/30288#discussion_r519462964
##########
File path: python/pyspark/tests/test_taskcontext.py
##########
@@ -127,12 +127,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:
This seems fine but if you're just looking for longer delays,
randint(5,10) or something?
----------------------------------------------------------------
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]