Github user heary-cao commented on the issue: https://github.com/apache/spark/pull/20516 sure, Operation environment: IDEA test tool. test case: test("can bind to a specific port") Test code: val maxRetries = portMaxRetries(conf) println("maxRetries:" + maxRetries) run result: maxRetries:16 if and only if add System.setProperty("spark.testing", "true") in SparkFunSuite. run result: maxRetries: 100 thanks.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org