snmvaughan opened a new pull request, #41678: URL: https://github.com/apache/spark/pull/41678
### What changes were proposed in this pull request? Propagate proxy settings to forked unit test JVMs. System properties that start with `http.` or `https.` are copied into the `jvmOptions` of the forked processes, ensuring that required proxy settings are available during the tests. ### Why are the changes needed? Running a subset of unit tests fail in enterprise environments that have additional constraints on network access that are handled by using a proxy. Examples of impacted tests: - HadoopVersionInfoSuite, test name: SPARK-32256: Hadoop VersionInfo should be preloaded. - HiveClientUserNameSuite(2.0), test name: 2.0: username of HiveClient - no UGI. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? A local CI build was modified to use Spark branches (3.3 and 3.4) that included this change to verify it addressed the test failures. In addition, logging changes were introduced to verify that the system properties were absent when running the tests prior to the change. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
