beliefer commented on code in PR #50378: URL: https://github.com/apache/spark/pull/50378#discussion_r2013314864
########## core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala: ########## @@ -1573,6 +1573,8 @@ class TaskSetManagerSuite } test("SPARK-21563 context's added jars shouldn't change mid-TaskSet") { + val jarPath = Thread.currentThread().getContextClassLoader.getResource("TestUDTF.jar") Review Comment: I originally thought you want unify the name of `testJar` and `jarPath`. Now I got it. Some tests cases need the null check for `testJar` before `val jarPath = testJar. toString`. -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org